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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 109.2 kB / 16.41 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 193.2 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.89 kB / 0.5684 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 77.94 MB / 0.6445 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002405/0.1459, allocations: 1.41 MB / 0.6459 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.1467, allocations: 440.1 kB / 0.6463 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.1467, allocations: 0 / 0.6463 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.1468, allocations: 3.938 kB / 0.6463 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.1469, allocations: 15.84 kB / 0.6463 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.147, allocations: 19.92 kB / 0.6464 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1472, allocations: 51.86 kB / 0.6464 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.1472, allocations: 15.98 kB / 0.6464 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.1473, allocations: 19.88 kB / 0.6464 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.1474, allocations: 23.89 kB / 0.6465 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1474, allocations: 4 kB / 0.6465 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.1474, allocations: 4 kB / 0.6465 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.1474, allocations: 4 kB / 0.6465 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.1475, allocations: 23.86 kB / 0.6465 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1476, allocations: 47.81 kB / 0.6465 GB, free: 7.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.1476, allocations: 0 / 0.6465 GB, free: 7.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1476, allocations: 3.938 kB / 0.6465 GB, free: 7.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1477, allocations: 4 kB / 0.6466 GB, free: 7.066 MB / 494.1 MB 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.0005731/0.1482, allocations: 393 kB / 0.6469 GB, free: 6.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1483, allocations: 12.56 kB / 0.6469 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1483, allocations: 4.938 kB / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1484, allocations: 168.3 kB / 0.6471 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1485, allocations: 4.375 kB / 0.6471 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1485, allocations: 8.359 kB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1486, allocations: 57.94 kB / 0.6472 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.1486, allocations: 4 kB / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1486, allocations: 0 / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1486, allocations: 0 / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.1487, allocations: 15.98 kB / 0.6472 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1491, allocations: 268.8 kB / 0.6474 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.1492, allocations: 46.5 kB / 0.6475 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.1492, allocations: 20.98 kB / 0.6475 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1492, allocations: 0 / 0.6475 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1494, allocations: 109.1 kB / 0.6476 GB, free: 5.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1495, allocations: 0 / 0.6476 GB, free: 5.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002601/0.1497, allocations: 139.3 kB / 0.6477 GB, free: 5.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1498, allocations: 81.11 kB / 0.6478 GB, free: 5.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.1499, allocations: 113.8 kB / 0.6479 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1499, allocations: 33.7 kB / 0.648 GB, free: 5.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1499, allocations: 84.14 kB / 0.648 GB, free: 5.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.15, allocations: 11.91 kB / 0.6481 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.15, allocations: 29.7 kB / 0.6481 GB, free: 5.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1501, allocations: 322.8 kB / 0.6484 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.1502, allocations: 16 kB / 0.6484 GB, free: 4.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.1502, allocations: 38.5 kB / 0.6484 GB, free: 4.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.1503, allocations: 114 kB / 0.6486 GB, free: 4.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1503, allocations: 0 / 0.6486 GB, free: 4.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001569/0.1505, allocations: 127.3 kB / 0.6487 GB, free: 4.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.1505, allocations: 34.08 kB / 0.6487 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1506, allocations: 3.938 kB / 0.6487 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1506, allocations: 0 / 0.6487 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.1506, allocations: 8 kB / 0.6487 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1506, allocations: 7.938 kB / 0.6487 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.1507, allocations: 15.92 kB / 0.6487 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1507, allocations: 4 kB / 0.6487 GB, free: 4.527 MB / 494.1 MB 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.0001025/0.1508, allocations: 153 kB / 0.6489 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.1508, allocations: 7.953 kB / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.1509, allocations: 8.375 kB / 0.6489 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1509, allocations: 7.984 kB / 0.6489 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1509, allocations: 0 / 0.6489 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1509, allocations: 4 kB / 0.6489 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.1513, allocations: 400.2 kB / 0.6493 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1513, allocations: 4 kB / 0.6493 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-06/0.1513, allocations: 0 / 0.6493 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1513, allocations: 0 / 0.6493 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1513, allocations: 7.984 kB / 0.6493 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1513, allocations: 0 / 0.6493 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1514, allocations: 0 / 0.6493 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1516, allocations: 237.1 kB / 0.6495 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.1516, allocations: 81.06 kB / 0.6496 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1516, allocations: 8 kB / 0.6496 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.1517, allocations: 7.984 kB / 0.6496 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1518, allocations: 11.92 kB / 0.6496 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1518, allocations: 4 kB / 0.6496 GB, free: 3.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.1519, allocations: 83.83 kB / 0.6497 GB, free: 3.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 0.6497 GB, free: 3.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1521, allocations: 24 kB / 0.6497 GB, free: 3.375 MB / 494.1 MB 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.046e-05/0.1522, allocations: 104.9 kB / 0.6498 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1524, allocations: 115.3 kB / 0.65 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1524, allocations: 0 / 0.65 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.1525, allocations: 87.62 kB / 0.65 GB, free: 3.043 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1528, allocations: 20.08 kB / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.1532, allocations: 157.5 kB / 0.6502 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1534, allocations: 0.6846 MB / 0.6509 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.1534, allocations: 4 kB / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.1535, allocations: 7.438 kB / 0.6509 GB, free: 2.125 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1535, allocations: 0 / 0.6509 GB, free: 2.125 MB / 494.1 MB Notification: Performance of Templates: time 0.003031/0.1565, allocations: 0.8807 MB / 0.6518 GB, free: 1.254 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)