Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 97.11 kB / 19.74 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 207.5 kB / 23.04 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9183/0.9183, allocations: 150 MB / 463.2 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 72.25 kB / 0.6413 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1646, allocations: 89.18 MB / 0.7284 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001975/0.1666, allocations: 0.664 MB / 0.729 GB, free: 60 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1683, allocations: 1.276 MB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1684, allocations: 0 / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.1684, allocations: 3.938 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.1685, allocations: 23.84 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.1693, allocations: 313.7 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1696, allocations: 255.6 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1697, allocations: 20.09 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1698, allocations: 99.86 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.17, allocations: 79.75 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.17, allocations: 24 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.491e-05/0.1701, allocations: 35.98 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1701, allocations: 15.92 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1702, allocations: 79.81 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1705, allocations: 227.6 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1705, allocations: 0 / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1705, allocations: 0 / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1705, allocations: 0 / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005787/0.1711, allocations: 423.1 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1711, allocations: 8.031 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.1712, allocations: 38.73 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.1712, allocations: 12.89 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1713, allocations: 118.5 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1714, allocations: 8.375 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1714, allocations: 20.38 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1715, allocations: 65.91 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1715, allocations: 0 / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1715, allocations: 3.984 kB / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1716, allocations: 0 / 0.7321 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.1716, allocations: 20 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.1721, allocations: 351.7 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.1722, allocations: 30.52 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.1723, allocations: 16.94 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.1723, allocations: 4 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.1725, allocations: 103.3 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1725, allocations: 0 / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003228/0.1728, allocations: 145.4 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1729, allocations: 59.39 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.173, allocations: 132.3 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.173, allocations: 37.7 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.1731, allocations: 100.2 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1731, allocations: 19.84 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1732, allocations: 69.67 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1734, allocations: 322.8 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1736, allocations: 185 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.1739, allocations: 225.5 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1742, allocations: 240.6 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1742, allocations: 0 / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006569/0.1749, allocations: 475.6 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.1749, allocations: 97.08 kB / 0.7346 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1749, allocations: 4 kB / 0.7346 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.175, allocations: 0 / 0.7346 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.138e-05/0.175, allocations: 4 kB / 0.7346 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.175, allocations: 7.938 kB / 0.7346 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.1755, allocations: 83.98 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.1755, allocations: 19.98 kB / 0.7347 GB, free: 9.883 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.1756, allocations: 137 kB / 0.7348 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1756, allocations: 7.953 kB / 0.7348 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.1757, allocations: 8.375 kB / 0.7348 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1757, allocations: 4 kB / 0.7348 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1757, allocations: 0 / 0.7348 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1757, allocations: 0 / 0.7348 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1758, allocations: 156.7 kB / 0.735 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1758, allocations: 0 / 0.735 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.1758, allocations: 11.92 kB / 0.735 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1759, allocations: 0 / 0.735 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1759, allocations: 0 / 0.735 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1759, allocations: 0 / 0.735 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1759, allocations: 0 / 0.735 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1761, allocations: 153.2 kB / 0.7351 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.1761, allocations: 11.89 kB / 0.7352 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1761, allocations: 0 / 0.7352 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.613e-05/0.1761, allocations: 11.94 kB / 0.7352 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1762, allocations: 11.98 kB / 0.7352 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1762, allocations: 8 kB / 0.7352 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.127e-05/0.1762, allocations: 99.25 kB / 0.7353 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1762, allocations: 0 / 0.7353 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002643/0.1765, allocations: 44 kB / 0.7353 GB, free: 9.164 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005497/0.177, allocations: 0.6748 MB / 0.736 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.1776, allocations: 419.1 kB / 0.7364 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1776, allocations: 384 / 0.7364 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.1776, allocations: 39.97 kB / 0.7364 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1779, allocations: 21.73 kB / 0.7364 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.1806, allocations: 2.437 MB / 0.7388 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.716e-05/0.1807, allocations: 79.89 kB / 0.7389 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.1807, allocations: 8.422 kB / 0.7389 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.1808, allocations: 35.36 kB / 0.7389 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.1808, allocations: 0 / 0.7389 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.2129, allocations: 4.682 MB / 0.7435 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.44, allocations: 4 kB / 0.7435 GB, free: 0.6523 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.93807153403759] Failed to read output from testmodel.py, exit status != 0: 10.543790840078145 10.558729844 10.385312675 Calling exit ...