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.0009249/0.0009249, allocations: 96.5 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009526/0.0009527, allocations: 174.9 kB / 16.56 MB, free: 6.391 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.305/1.305, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7895/0.7895, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 77.16 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001433/0.1303, allocations: 1.114 MB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000652/0.1309, allocations: 415.3 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.131, allocations: 0 / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.131, allocations: 0 / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.1311, allocations: 7.984 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.1312, allocations: 15.92 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.1313, allocations: 31.95 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.767e-05/0.1314, allocations: 4 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.1315, allocations: 23.92 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.1315, allocations: 15.91 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1315, allocations: 8 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.1316, allocations: 0 / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.1316, allocations: 7.984 kB / 0.5584 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1316, allocations: 33.64 kB / 0.5585 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.48e-05/0.1317, allocations: 27.95 kB / 0.5585 GB, free: 9.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.1317, allocations: 0 / 0.5585 GB, free: 9.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1317, allocations: 0 / 0.5585 GB, free: 9.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1317, allocations: 0 / 0.5585 GB, free: 9.926 MB / 430.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.0005027/0.1322, allocations: 393.2 kB / 0.5589 GB, free: 9.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1323, allocations: 12.02 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1323, allocations: 11.84 kB / 0.5589 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1324, allocations: 167 kB / 0.559 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1325, allocations: 8 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1325, allocations: 0 / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1326, allocations: 53.66 kB / 0.5591 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1326, allocations: 7.891 kB / 0.5591 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1326, allocations: 12 kB / 0.5591 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1326, allocations: 0 / 0.5591 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.1327, allocations: 15.98 kB / 0.5591 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.133, allocations: 260.9 kB / 0.5594 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.1331, allocations: 42.56 kB / 0.5594 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1331, allocations: 4.078 kB / 0.5594 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1333, allocations: 112.9 kB / 0.5595 GB, free: 8.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1333, allocations: 4 kB / 0.5595 GB, free: 8.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002767/0.1336, allocations: 212.4 kB / 0.5597 GB, free: 8.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1337, allocations: 85.16 kB / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.1338, allocations: 113.8 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1338, allocations: 25.7 kB / 0.56 GB, free: 8.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1338, allocations: 92.05 kB / 0.56 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1338, allocations: 15.81 kB / 0.5601 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.1339, allocations: 4 kB / 0.5601 GB, free: 8.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.134, allocations: 318.8 kB / 0.5604 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.134, allocations: 12 kB / 0.5604 GB, free: 7.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/0.134, allocations: 38.56 kB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.1341, allocations: 45.7 kB / 0.5605 GB, free: 7.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1341, allocations: 4 kB / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001507/0.1343, allocations: 123.3 kB / 0.5606 GB, free: 7.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.1343, allocations: 37.64 kB / 0.5606 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1343, allocations: 3.984 kB / 0.5606 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1343, allocations: 0 / 0.5606 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.1344, allocations: 4 kB / 0.5606 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1344, allocations: 0 / 0.5606 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.1345, allocations: 23.83 kB / 0.5606 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1345, allocations: 7.938 kB / 0.5606 GB, free: 7.414 MB / 430.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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/0.1346, allocations: 147.6 kB / 0.5608 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.1346, allocations: 7.953 kB / 0.5608 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.1346, allocations: 12.36 kB / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1346, allocations: 0 / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1346, allocations: 0 / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1347, allocations: 0 / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.135, allocations: 404.4 kB / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.135, allocations: 4 kB / 0.5612 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.1351, allocations: 11.88 kB / 0.5612 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1351, allocations: 0 / 0.5612 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1351, allocations: 0 / 0.5612 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1351, allocations: 4.062 kB / 0.5612 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1351, allocations: 7.984 kB / 0.5612 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1353, allocations: 221.2 kB / 0.5614 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.1353, allocations: 88.97 kB / 0.5615 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1354, allocations: 4 kB / 0.5615 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1355, allocations: 19.92 kB / 0.5615 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1355, allocations: 4 kB / 0.5615 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1355, allocations: 7.984 kB / 0.5616 GB, free: 6.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.1356, allocations: 83.28 kB / 0.5616 GB, free: 6.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 0 / 0.5616 GB, free: 6.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1358, allocations: 20 kB / 0.5617 GB, free: 6.27 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.317e-05/0.1359, allocations: 99.94 kB / 0.5617 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.1361, allocations: 119.3 kB / 0.5619 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1361, allocations: 0 / 0.5619 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.1362, allocations: 84.17 kB / 0.5619 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1364, allocations: 18.17 kB / 0.562 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.1367, allocations: 165.7 kB / 0.5621 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.1369, allocations: 0.6926 MB / 0.5628 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.728e-05/0.1369, allocations: 7.781 kB / 0.5628 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.137, allocations: 15.42 kB / 0.5628 GB, free: 4.988 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.137, allocations: 0 / 0.5628 GB, free: 4.988 MB / 430.1 MB Notification: Performance of Templates: time 0.002407/0.1394, allocations: 0.7258 MB / 0.5635 GB, free: 4.27 MB / 430.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)