Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001463/0.001463, allocations: 97.11 kB / 19.73 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.001568/0.001568, allocations: 204.3 kB / 23.04 MB, free: 5.008 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.9227/0.9227, allocations: 150 MB / 463.2 MB, free: 10.19 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.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",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.001895/0.001895, allocations: 71.52 kB / 0.6413 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1611, allocations: 89.17 MB / 0.7284 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001934/0.1631, allocations: 0.7024 MB / 0.7291 GB, free: 56 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1647, allocations: 1.28 MB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.1648, allocations: 0 / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.1648, allocations: 7.875 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.1649, allocations: 19.86 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.1655, allocations: 249.8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.1658, allocations: 251.5 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1659, allocations: 12.23 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1661, allocations: 103.8 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1662, allocations: 83.73 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.1663, allocations: 24 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.1663, allocations: 32 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.1664, allocations: 35.89 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1665, allocations: 83.8 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1668, allocations: 231.5 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1668, allocations: 0 / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1668, allocations: 0 / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1668, allocations: 0 / 0.7314 GB, free: 13.65 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006916/0.1675, allocations: 425.3 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1675, allocations: 8.031 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.1675, allocations: 42.73 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1676, allocations: 20.88 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.1682, allocations: 194.5 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1682, allocations: 12.36 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1682, allocations: 20.38 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1685, allocations: 135.6 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1685, allocations: 3.938 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1685, allocations: 0 / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1685, allocations: 7.984 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1686, allocations: 59.89 kB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/0.1694, allocations: 463.8 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1698, allocations: 133.2 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.1698, allocations: 49.7 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1699, allocations: 0 / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.1702, allocations: 217.7 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1702, allocations: 4 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006111/0.1709, allocations: 304.6 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.1709, allocations: 93.03 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.171, allocations: 134 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.1711, allocations: 41.69 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1712, allocations: 96.59 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.1712, allocations: 51.62 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.1713, allocations: 77.67 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1715, allocations: 326.8 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.1717, allocations: 155.6 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1719, allocations: 207.6 kB / 0.7345 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.1722, allocations: 243 kB / 0.7348 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1722, allocations: 384 / 0.7348 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000601/0.1728, allocations: 437 kB / 0.7352 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.1729, allocations: 63.41 kB / 0.7352 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1729, allocations: 0 / 0.7352 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1729, allocations: 7.984 kB / 0.7352 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.173, allocations: 23.88 kB / 0.7353 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.173, allocations: 4 kB / 0.7353 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.1734, allocations: 72.03 kB / 0.7353 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.1734, allocations: 12 kB / 0.7353 GB, free: 9.223 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001374/0.1735, allocations: 147.8 kB / 0.7355 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1736, allocations: 19.91 kB / 0.7355 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1736, allocations: 20.42 kB / 0.7355 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1736, allocations: 3.938 kB / 0.7355 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1736, allocations: 8 kB / 0.7355 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1736, allocations: 0 / 0.7355 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.1742, allocations: 0.5788 MB / 0.7361 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1742, allocations: 0 / 0.7361 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.1743, allocations: 8 kB / 0.7361 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1743, allocations: 3.938 kB / 0.7361 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1743, allocations: 11.98 kB / 0.7361 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1743, allocations: 4 kB / 0.7361 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1743, allocations: 0 / 0.7361 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.1748, allocations: 435.4 kB / 0.7365 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.1748, allocations: 7.953 kB / 0.7366 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.1748, allocations: 23.86 kB / 0.7366 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1749, allocations: 11.98 kB / 0.7366 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.175, allocations: 19.95 kB / 0.7366 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.175, allocations: 19.98 kB / 0.7366 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.1751, allocations: 95.27 kB / 0.7367 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 0 / 0.7367 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003397/0.1754, allocations: 52 kB / 0.7368 GB, free: 7.699 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007885/0.1762, allocations: 0.9771 MB / 0.7377 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.1767, allocations: 383.8 kB / 0.7381 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1767, allocations: 0 / 0.7381 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1769, allocations: 83.84 kB / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1772, allocations: 27.03 kB / 0.7382 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.18, allocations: 2.541 MB / 0.7407 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.839e-05/0.1801, allocations: 92.8 kB / 0.7408 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.948e-05/0.1802, allocations: 21.48 kB / 0.7408 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1802, allocations: 35.42 kB / 0.7408 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.1802, allocations: 0 / 0.7408 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.2105, allocations: 4.915 MB / 0.7456 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.62, allocations: 2.672 kB / 0.7456 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer_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_Timer.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.159294435055926] Failed to read output from testmodel.py, exit status != 0: 10.726952427066863 10.742149209 10.572482402 Calling exit ...