Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.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.00133/0.00133, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001514/0.001514, allocations: 165.8 kB / 23.76 MB, free: 4.199 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.442/1.442, allocations: 177.2 MB / 204.1 MB, free: 8.996 MB / 190.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.9225/0.9225, allocations: 113.9 MB / 374.4 MB, free: 12.91 MB / 350.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: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [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.002154/0.002154, allocations: 65.86 kB / 0.555 GB, free: 2.797 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1609, allocations: 89.15 MB / 0.6421 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002871/0.1637, allocations: 1.423 MB / 0.6434 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008429/0.1646, allocations: 439 kB / 0.6439 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1646, allocations: 4 kB / 0.6439 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.1646, allocations: 3.938 kB / 0.6439 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.1647, allocations: 15.86 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.1649, allocations: 15.98 kB / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.165, allocations: 51.84 kB / 0.644 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.1651, allocations: 4 kB / 0.644 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.1651, allocations: 27.86 kB / 0.644 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1652, allocations: 19.91 kB / 0.644 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1652, allocations: 4 kB / 0.644 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.1652, allocations: 4 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1653, allocations: 11.88 kB / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1653, allocations: 19.92 kB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1654, allocations: 47.81 kB / 0.6441 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1654, allocations: 0 / 0.6441 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1654, allocations: 3.938 kB / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1654, allocations: 0 / 0.6441 GB, free: 7.504 MB / 0.545 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.0006463/0.1661, allocations: 323.9 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1661, allocations: 12.03 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.1662, allocations: 0.9375 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1663, allocations: 118.4 kB / 0.6445 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1663, allocations: 4.375 kB / 0.6445 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1663, allocations: 4.375 kB / 0.6445 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1665, allocations: 79.7 kB / 0.6446 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1665, allocations: 0 / 0.6446 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1665, allocations: 0 / 0.6446 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1665, allocations: 3.984 kB / 0.6446 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.1666, allocations: 49.7 kB / 0.6447 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.167, allocations: 216.5 kB / 0.6449 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1671, allocations: 68.2 kB / 0.6449 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1671, allocations: 42.69 kB / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1671, allocations: 0 / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1674, allocations: 138.8 kB / 0.6451 GB, free: 6.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1674, allocations: 0 / 0.6451 GB, free: 6.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000314/0.1677, allocations: 194.7 kB / 0.6453 GB, free: 6.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1677, allocations: 81.11 kB / 0.6454 GB, free: 5.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.1678, allocations: 121.9 kB / 0.6455 GB, free: 5.867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1678, allocations: 29.7 kB / 0.6455 GB, free: 5.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1679, allocations: 92.06 kB / 0.6456 GB, free: 5.738 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1679, allocations: 15.84 kB / 0.6456 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.168, allocations: 25.72 kB / 0.6456 GB, free: 5.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1681, allocations: 322.8 kB / 0.6459 GB, free: 5.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.1682, allocations: 41.97 kB / 0.646 GB, free: 5.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1682, allocations: 72.2 kB / 0.6461 GB, free: 5.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1684, allocations: 117.9 kB / 0.6462 GB, free: 5.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.1684, allocations: 3.938 kB / 0.6462 GB, free: 5.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001925/0.1686, allocations: 161 kB / 0.6463 GB, free: 4.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.1686, allocations: 31.73 kB / 0.6464 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1686, allocations: 7.938 kB / 0.6464 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1686, allocations: 0 / 0.6464 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.057e-05/0.1687, allocations: 4 kB / 0.6464 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1687, allocations: 0 / 0.6464 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.1687, allocations: 7.984 kB / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1687, allocations: 4 kB / 0.6464 GB, free: 4.859 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001217/0.1689, allocations: 155.5 kB / 0.6465 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1689, allocations: 11.95 kB / 0.6465 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.1689, allocations: 4.438 kB / 0.6465 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1689, allocations: 3.938 kB / 0.6465 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1689, allocations: 4 kB / 0.6465 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1689, allocations: 0 / 0.6465 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.1694, allocations: 373.5 kB / 0.6469 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1694, allocations: 0 / 0.6469 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.1694, allocations: 0 / 0.6469 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1694, allocations: 0 / 0.6469 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1694, allocations: 8 kB / 0.6469 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1694, allocations: 0 / 0.6469 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1694, allocations: 4 kB / 0.6469 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1696, allocations: 266.8 kB / 0.6472 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.1697, allocations: 11.94 kB / 0.6472 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1697, allocations: 0 / 0.6472 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1698, allocations: 12.06 kB / 0.6472 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1698, allocations: 11.98 kB / 0.6472 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1698, allocations: 0 / 0.6472 GB, free: 3.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.1699, allocations: 91.36 kB / 0.6473 GB, free: 3.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1699, allocations: 3.938 kB / 0.6473 GB, free: 3.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002401/0.1701, allocations: 12 kB / 0.6473 GB, free: 3.812 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 9.486e-05/0.1702, allocations: 103.2 kB / 0.6474 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1705, allocations: 170.7 kB / 0.6476 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1705, allocations: 0 / 0.6476 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1706, allocations: 109.1 kB / 0.6477 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1709, allocations: 15.92 kB / 0.6477 GB, free: 3.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.1712, allocations: 187.9 kB / 0.6479 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.604e-05/0.1713, allocations: 79.44 kB / 0.6479 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.1713, allocations: 4 kB / 0.6479 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.1713, allocations: 12.5 kB / 0.648 GB, free: 3.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1713, allocations: 0 / 0.648 GB, free: 3.039 MB / 0.545 GB Notification: Performance of Templates: time 0.003453/0.1748, allocations: 0.9224 MB / 0.6489 GB, free: 2.141 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.301445946912281] Failed to read output from testmodel.py, exit status != 0: 0.1828863819828257 0.197340851 0.028784968 Calling exit ...