Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 90.58 kB / 16.02 MB, free: 84 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.001734/0.001734, allocations: 187.1 kB / 16.92 MB, free: 6.684 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.105 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7507/0.7507, allocations: 115.5 MB / 407.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8 kB / 495.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 77.51 MB / 0.5599 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001695/0.151, allocations: 1.178 MB / 0.5611 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.1517, allocations: 427.1 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.1518, allocations: 0 / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.1518, allocations: 7.938 kB / 0.5615 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.1519, allocations: 7.969 kB / 0.5615 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1521, allocations: 23.92 kB / 0.5615 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.1521, allocations: 43.92 kB / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1523, allocations: 11.98 kB / 0.5616 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.1524, allocations: 15.94 kB / 0.5616 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.1524, allocations: 19.91 kB / 0.5616 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1524, allocations: 0 / 0.5616 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1525, allocations: 8 kB / 0.5616 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.1525, allocations: 11.92 kB / 0.5616 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1526, allocations: 49.56 kB / 0.5617 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.941e-05/0.1526, allocations: 35.88 kB / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1527, allocations: 0 / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1527, allocations: 0 / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.1527, allocations: 3.938 kB / 0.5617 GB, free: 7.137 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005537/0.1532, allocations: 351.7 kB / 0.5621 GB, free: 6.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1533, allocations: 12.03 kB / 0.5621 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.1533, allocations: 8.828 kB / 0.5621 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1534, allocations: 172.3 kB / 0.5622 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1535, allocations: 8.312 kB / 0.5622 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1535, allocations: 4.375 kB / 0.5622 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1536, allocations: 61.92 kB / 0.5623 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1536, allocations: 0 / 0.5623 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1536, allocations: 4 kB / 0.5623 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1537, allocations: 4 kB / 0.5623 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.1537, allocations: 23.98 kB / 0.5623 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.1542, allocations: 316.6 kB / 0.5626 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1544, allocations: 50.61 kB / 0.5627 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.978e-05/0.1545, allocations: 28.89 kB / 0.5627 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1545, allocations: 4 kB / 0.5627 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1548, allocations: 79.41 kB / 0.5628 GB, free: 5.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.1548, allocations: 0 / 0.5628 GB, free: 5.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002518/0.155, allocations: 93.62 kB / 0.5629 GB, free: 5.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1551, allocations: 59.39 kB / 0.5629 GB, free: 5.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.1552, allocations: 109.8 kB / 0.563 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1552, allocations: 25.7 kB / 0.5631 GB, free: 5.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.1552, allocations: 92.12 kB / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1553, allocations: 23.66 kB / 0.5632 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1553, allocations: 21.7 kB / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1554, allocations: 318.8 kB / 0.5635 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.1555, allocations: 19.98 kB / 0.5635 GB, free: 5.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.1555, allocations: 47.8 kB / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1557, allocations: 63.38 kB / 0.5636 GB, free: 4.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1557, allocations: 3.938 kB / 0.5636 GB, free: 4.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001613/0.1558, allocations: 89.61 kB / 0.5637 GB, free: 4.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1559, allocations: 7.938 kB / 0.5637 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1559, allocations: 4 kB / 0.5637 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1559, allocations: 0 / 0.5637 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.156, allocations: 11.94 kB / 0.5637 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.156, allocations: 12.02 kB / 0.5638 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1561, allocations: 7.906 kB / 0.5638 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1561, allocations: 8 kB / 0.5638 GB, free: 4.785 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.785e-05/0.1562, allocations: 119.9 kB / 0.5639 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1562, allocations: 4 kB / 0.5639 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.1563, allocations: 15.89 kB / 0.5639 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1563, allocations: 0 / 0.5639 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1563, allocations: 8 kB / 0.5639 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1563, allocations: 0 / 0.5639 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.1567, allocations: 362.3 kB / 0.5643 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1567, allocations: 288 / 0.5643 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1567, allocations: 4 kB / 0.5643 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1567, allocations: 0 / 0.5643 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1567, allocations: 0 / 0.5643 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1567, allocations: 11.92 kB / 0.5643 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1568, allocations: 4 kB / 0.5643 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1569, allocations: 179.5 kB / 0.5644 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.157, allocations: 88.94 kB / 0.5645 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.157, allocations: 4 kB / 0.5645 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.1571, allocations: 12 kB / 0.5645 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1572, allocations: 11.98 kB / 0.5646 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1572, allocations: 4 kB / 0.5646 GB, free: 3.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.955e-05/0.1572, allocations: 87.27 kB / 0.5646 GB, free: 3.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1572, allocations: 0 / 0.5646 GB, free: 3.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1574, allocations: 12.19 kB / 0.5647 GB, free: 3.777 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.297e-05/0.1575, allocations: 105.6 kB / 0.5648 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1577, allocations: 55.86 kB / 0.5648 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1577, allocations: 0 / 0.5648 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.1578, allocations: 23.98 kB / 0.5648 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1582, allocations: 19.45 kB / 0.5649 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.1586, allocations: 176.5 kB / 0.565 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1588, allocations: 0.6926 MB / 0.5657 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.822e-05/0.1589, allocations: 4 kB / 0.5657 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1589, allocations: 11.44 kB / 0.5657 GB, free: 2.641 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1589, allocations: 0 / 0.5657 GB, free: 2.641 MB / 430.1 MB Notification: Performance of Templates: time 0.002607/0.1615, allocations: 0.6708 MB / 0.5664 GB, free: 1.977 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)