Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001237/0.001237, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.00137/0.00137, allocations: 210.1 kB / 23.04 MB, free: 4.883 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.9188/0.9188, allocations: 150 MB / 463.2 MB, free: 10.22 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.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_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.001921/0.001921, allocations: 67 kB / 0.6413 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 89.17 MB / 0.7284 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001967/0.1664, allocations: 0.7876 MB / 0.7291 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.168, allocations: 1.303 MB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.1681, allocations: 4 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.1681, allocations: 15.8 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.1682, allocations: 19.8 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.169, allocations: 317.9 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1693, allocations: 299.5 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1694, allocations: 33.59 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1695, allocations: 115.8 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1697, allocations: 87.67 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.1697, allocations: 28 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.1698, allocations: 43.97 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.1698, allocations: 19.92 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.17, allocations: 99.67 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1703, allocations: 267.4 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1703, allocations: 0 / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1703, allocations: 0 / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.1703, allocations: 4 kB / 0.7317 GB, free: 13.34 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006526/0.1709, allocations: 462.8 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.171, allocations: 12.03 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.171, allocations: 38.73 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.1711, allocations: 24.84 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1712, allocations: 123.9 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.1712, allocations: 23.92 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.1712, allocations: 16 kB / 0.7324 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1714, allocations: 91.33 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1714, allocations: 0 / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1714, allocations: 8 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1714, allocations: 4 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.1715, allocations: 43.97 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.1721, allocations: 411.5 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1723, allocations: 70.55 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.1724, allocations: 24.91 kB / 0.733 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1724, allocations: 4 kB / 0.733 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1726, allocations: 119.4 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 3.407e-06/0.1726, allocations: 4 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003397/0.173, allocations: 177.5 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.173, allocations: 51.41 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1731, allocations: 173.4 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1732, allocations: 29.7 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1733, allocations: 108 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1733, allocations: 35.83 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.1734, allocations: 73.67 kB / 0.7337 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1736, allocations: 326.8 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1738, allocations: 185 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.1741, allocations: 236.8 kB / 0.7345 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.1744, allocations: 257.1 kB / 0.7347 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1744, allocations: 4 kB / 0.7347 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000668/0.1751, allocations: 0.491 MB / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.1751, allocations: 97.28 kB / 0.7353 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1751, allocations: 8 kB / 0.7353 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1751, allocations: 0 / 0.7353 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.1752, allocations: 15.92 kB / 0.7353 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1752, allocations: 4 kB / 0.7353 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.1757, allocations: 83.8 kB / 0.7354 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.1757, allocations: 23.98 kB / 0.7354 GB, free: 9.195 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001207/0.1758, allocations: 137.8 kB / 0.7355 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1758, allocations: 27.81 kB / 0.7356 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.1759, allocations: 8.781 kB / 0.7356 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1759, allocations: 4 kB / 0.7356 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1759, allocations: 0 / 0.7356 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1759, allocations: 0 / 0.7356 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1761, allocations: 184.6 kB / 0.7357 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1761, allocations: 3.938 kB / 0.7358 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.1761, allocations: 15.98 kB / 0.7358 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1761, allocations: 0 / 0.7358 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1761, allocations: 4 kB / 0.7358 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1761, allocations: 0 / 0.7358 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1761, allocations: 0 / 0.7358 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1764, allocations: 166.2 kB / 0.7359 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.1764, allocations: 15.84 kB / 0.7359 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1764, allocations: 7.984 kB / 0.736 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.1764, allocations: 7.938 kB / 0.736 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1765, allocations: 7.984 kB / 0.736 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1765, allocations: 8 kB / 0.736 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.1766, allocations: 116.1 kB / 0.7361 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1766, allocations: 0 / 0.7361 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000265/0.1768, allocations: 52 kB / 0.7361 GB, free: 8.371 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0005583/0.1774, allocations: 0.7191 MB / 0.7368 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.1779, allocations: 431.2 kB / 0.7372 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1779, allocations: 0 / 0.7372 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.178, allocations: 48.28 kB / 0.7373 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1782, allocations: 23.98 kB / 0.7373 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.1812, allocations: 2.612 MB / 0.7399 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.232e-05/0.1813, allocations: 102.7 kB / 0.74 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.1814, allocations: 12.64 kB / 0.74 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.1814, allocations: 39.42 kB / 0.74 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.1814, allocations: 0 / 0.74 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.2125, allocations: 5.094 MB / 0.745 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.71, allocations: 8 kB / 0.745 GB, free: 15.18 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.22271854383871] Failed to read output from testmodel.py, exit status != 0: 10.80852557811886 10.823212001 10.650122416 Calling exit ...