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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007548/0.0007548, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007795/0.0007795, allocations: 176.5 kB / 16.58 MB, free: 6.855 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.312/1.312, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.648/0.648, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001606/0.1448, allocations: 1.166 MB / 0.558 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.1455, allocations: 411.3 kB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.1456, allocations: 0 / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.1456, allocations: 11.94 kB / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.1457, allocations: 0 / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1459, allocations: 23.91 kB / 0.5585 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.1459, allocations: 47.91 kB / 0.5585 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.146, allocations: 4 kB / 0.5585 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.1461, allocations: 19.92 kB / 0.5585 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.1462, allocations: 19.86 kB / 0.5585 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1462, allocations: 0 / 0.5585 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.1462, allocations: 4 kB / 0.5585 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.1462, allocations: 15.97 kB / 0.5586 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.1463, allocations: 33.7 kB / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.715e-05/0.1463, allocations: 20.23 kB / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1464, allocations: 0 / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1464, allocations: 4 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1464, allocations: 0 / 0.5586 GB, free: 9.906 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.0004924/0.1469, allocations: 351.2 kB / 0.559 GB, free: 9.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1469, allocations: 16.03 kB / 0.559 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.147, allocations: 38.5 kB / 0.559 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.147, allocations: 7.906 kB / 0.559 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1471, allocations: 167 kB / 0.5592 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1472, allocations: 7.938 kB / 0.5592 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1472, allocations: 8 kB / 0.5592 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1473, allocations: 57.62 kB / 0.5592 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1473, allocations: 3.938 kB / 0.5592 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1473, allocations: 4 kB / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1473, allocations: 0 / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.1474, allocations: 31.97 kB / 0.5593 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.1479, allocations: 296.8 kB / 0.5596 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.148, allocations: 58.59 kB / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.1481, allocations: 24.94 kB / 0.5596 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1481, allocations: 4 kB / 0.5596 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1482, allocations: 75.23 kB / 0.5597 GB, free: 8.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1482, allocations: 0 / 0.5597 GB, free: 8.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002087/0.1485, allocations: 97.61 kB / 0.5598 GB, free: 8.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1485, allocations: 59.34 kB / 0.5599 GB, free: 8.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.1486, allocations: 113.8 kB / 0.56 GB, free: 8.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1486, allocations: 29.7 kB / 0.56 GB, free: 8.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.1487, allocations: 88.11 kB / 0.5601 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1487, allocations: 23.66 kB / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1487, allocations: 0 / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1488, allocations: 318.8 kB / 0.5604 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.1489, allocations: 15.98 kB / 0.5604 GB, free: 7.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.1489, allocations: 47.42 kB / 0.5605 GB, free: 7.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/0.149, allocations: 23.95 kB / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.149, allocations: 0 / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001362/0.1491, allocations: 93.55 kB / 0.5606 GB, free: 7.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1492, allocations: 8 kB / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1492, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1492, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.1493, allocations: 12 kB / 0.5606 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1493, allocations: 15.97 kB / 0.5606 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.1494, allocations: 15.94 kB / 0.5606 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1494, allocations: 4 kB / 0.5606 GB, free: 7.59 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.1495, allocations: 127.2 kB / 0.5608 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1495, allocations: 4 kB / 0.5608 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.1495, allocations: 7.953 kB / 0.5608 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1495, allocations: 4 kB / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1495, allocations: 0 / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1496, allocations: 4 kB / 0.5608 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.15, allocations: 366.7 kB / 0.5611 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.15, allocations: 384 / 0.5611 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.15, allocations: 7.938 kB / 0.5611 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.15, allocations: 0 / 0.5611 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.15, allocations: 0 / 0.5611 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.15, allocations: 7.984 kB / 0.5611 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.15, allocations: 4 kB / 0.5611 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1502, allocations: 187.4 kB / 0.5613 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.1503, allocations: 88.94 kB / 0.5614 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1503, allocations: 0 / 0.5614 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.1504, allocations: 8 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1504, allocations: 11.98 kB / 0.5614 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1505, allocations: 0 / 0.5614 GB, free: 6.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.1505, allocations: 87.27 kB / 0.5615 GB, free: 6.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1505, allocations: 3.938 kB / 0.5615 GB, free: 6.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1507, allocations: 16 kB / 0.5615 GB, free: 6.574 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 (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 0.0004329/0.1512, allocations: 0.7092 MB / 0.5622 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1513, allocations: 55.92 kB / 0.5623 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1513, allocations: 0 / 0.5623 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.1514, allocations: 27.92 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1517, allocations: 8.375 kB / 0.5623 GB, free: 5.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.1525, allocations: 0.4915 MB / 0.5628 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1528, allocations: 0.6888 MB / 0.5635 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.101e-05/0.1528, allocations: 8 kB / 0.5635 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1529, allocations: 23.42 kB / 0.5635 GB, free: 4.457 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1529, allocations: 0 / 0.5635 GB, free: 4.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.1644, allocations: 1.467 MB / 0.5649 GB, free: 3.125 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.1646, allocations: 180.2 kB / 0.5651 GB, free: 2.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.756, allocations: 3.5 kB / 0.5651 GB, free: 2.883 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: