Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001209/0.001209, 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.001344/0.001344, allocations: 210.4 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9005/0.9005, allocations: 150 MB / 463.2 MB, free: 10.23 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.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",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.001952/0.001952, allocations: 68.14 kB / 0.6413 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 89.16 MB / 0.7284 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002401/0.1601, allocations: 1.009 MB / 0.7293 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1625, allocations: 1.607 MB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1626, allocations: 7.938 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.1627, allocations: 19.73 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1628, allocations: 47.64 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.1634, allocations: 218.7 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.1637, allocations: 339.3 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1639, allocations: 52.91 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.164, allocations: 131.6 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1642, allocations: 111.5 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.1642, allocations: 32 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.1643, allocations: 43.98 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.1644, allocations: 51.89 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1645, allocations: 103.5 kB / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.1649, allocations: 367 kB / 0.7324 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1649, allocations: 4 kB / 0.7324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1649, allocations: 4 kB / 0.7324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1649, allocations: 3.984 kB / 0.7324 GB, free: 12.64 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009546/0.1659, allocations: 483.7 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1659, allocations: 12.03 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.415e-05/0.166, allocations: 46.73 kB / 0.7329 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.458e-05/0.1661, allocations: 20.84 kB / 0.7329 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1665, allocations: 214.1 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.1665, allocations: 16.66 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.1666, allocations: 32.3 kB / 0.7332 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.1669, allocations: 179.9 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1669, allocations: 0 / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.167, allocations: 15.97 kB / 0.7334 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.167, allocations: 0 / 0.7334 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.1673, allocations: 128.8 kB / 0.7335 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.1682, allocations: 0.5424 MB / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.1687, allocations: 170.8 kB / 0.7342 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1688, allocations: 76.73 kB / 0.7342 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1689, allocations: 0 / 0.7342 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.1692, allocations: 203.1 kB / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.1693, allocations: 0 / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.0007289/0.17, allocations: 329.5 kB / 0.7348 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.17, allocations: 63.33 kB / 0.7348 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1702, allocations: 184 kB / 0.735 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.1703, allocations: 45.69 kB / 0.735 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1704, allocations: 120.7 kB / 0.7351 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.1704, allocations: 67.47 kB / 0.7352 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1706, allocations: 81.55 kB / 0.7353 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1707, allocations: 334.8 kB / 0.7356 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1709, allocations: 125.7 kB / 0.7357 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.1712, allocations: 200.2 kB / 0.7359 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1715, allocations: 216.9 kB / 0.7361 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1715, allocations: 0 / 0.7361 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005799/0.1721, allocations: 384.9 kB / 0.7365 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.1721, allocations: 29.8 kB / 0.7365 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1721, allocations: 8 kB / 0.7365 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1721, allocations: 0 / 0.7365 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1722, allocations: 31.92 kB / 0.7366 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1723, allocations: 0 / 0.7366 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1725, allocations: 47.84 kB / 0.7366 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1725, allocations: 19.98 kB / 0.7366 GB, free: 8.023 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001725/0.1727, allocations: 157.7 kB / 0.7368 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1728, allocations: 15.91 kB / 0.7368 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.1733, allocations: 275.5 kB / 0.7371 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1733, allocations: 0 / 0.7371 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1733, allocations: 4 kB / 0.7371 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1733, allocations: 3.938 kB / 0.7371 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.1742, allocations: 0.6057 MB / 0.7377 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1742, allocations: 4 kB / 0.7377 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.1743, allocations: 19.94 kB / 0.7377 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.1743, allocations: 0 / 0.7377 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1743, allocations: 7.984 kB / 0.7377 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1743, allocations: 0 / 0.7377 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1743, allocations: 0 / 0.7377 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.1749, allocations: 368.1 kB / 0.738 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.1749, allocations: 19.83 kB / 0.7381 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.1749, allocations: 12.05 kB / 0.7381 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1751, allocations: 23.97 kB / 0.7381 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.1751, allocations: 31.83 kB / 0.7381 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.1752, allocations: 23.92 kB / 0.7381 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001058/0.1753, allocations: 129 kB / 0.7383 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 0 / 0.7383 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003034/0.1756, allocations: 63.94 kB / 0.7383 GB, free: 6.203 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0008751/0.1765, allocations: 0.9156 MB / 0.7392 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.177, allocations: 322.9 kB / 0.7395 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.177, allocations: 0 / 0.7395 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.1772, allocations: 103.8 kB / 0.7396 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1776, allocations: 46.44 kB / 0.7397 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.1806, allocations: 2.521 MB / 0.7421 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.1807, allocations: 117.3 kB / 0.7422 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.314e-05/0.1808, allocations: 29.94 kB / 0.7423 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1809, allocations: 63.41 kB / 0.7423 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.1809, allocations: 0 / 0.7423 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.2136, allocations: 5.968 MB / 0.7482 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.43, allocations: 8.156 kB / 0.7482 GB, free: 12.14 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_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_VariablePulseMinHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.18437427491881] Failed to read output from testmodel.py, exit status != 0: 10.546357333892956 10.819918534 10.402185335 Calling exit ...