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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.511/0.511, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 92.28 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.267e-05, allocations: 4 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3508, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4709, allocations: 102.1 MB / 0.66 GB, free: 2.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4711, allocations: 75.95 kB / 0.6601 GB, free: 2.141 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003343/0.4745, allocations: 1.135 MB / 0.6612 GB, free: 1.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4745, allocations: 0 / 0.6612 GB, free: 1.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4745, allocations: 0 / 0.6612 GB, free: 1.02 MB / 474.7 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.0004469/0.475, allocations: 350.5 kB / 0.6615 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.475, allocations: 11.98 kB / 0.6615 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.4751, allocations: 39.8 kB / 0.6616 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.4752, allocations: 18.05 kB / 0.6616 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4753, allocations: 171 kB / 0.6617 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4754, allocations: 0 / 0.6617 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.4754, allocations: 4 kB / 0.6617 GB, free: 356 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4755, allocations: 61.67 kB / 0.6618 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4756, allocations: 0 / 0.6618 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4756, allocations: 0 / 0.6618 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4756, allocations: 11.95 kB / 0.6618 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.4757, allocations: 17.31 kB / 0.6618 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.4762, allocations: 304.8 kB / 0.6621 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.4763, allocations: 50.58 kB / 0.6622 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.4764, allocations: 33.09 kB / 0.6622 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4764, allocations: 3.953 kB / 0.6622 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.4765, allocations: 79.28 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.4766, allocations: 0 / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.000192/0.4768, allocations: 76.06 kB / 0.6624 GB, free: 15.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4768, allocations: 63.41 kB / 0.6624 GB, free: 15.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.4769, allocations: 101 kB / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4769, allocations: 29.7 kB / 0.6625 GB, free: 15.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.477, allocations: 88.05 kB / 0.6626 GB, free: 15.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.477, allocations: 15.81 kB / 0.6626 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.477, allocations: 0 / 0.6626 GB, free: 15.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4771, allocations: 322.8 kB / 0.6629 GB, free: 15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.4772, allocations: 12 kB / 0.663 GB, free: 14.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.4772, allocations: 47.44 kB / 0.663 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.4773, allocations: 19.92 kB / 0.663 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4773, allocations: 4 kB / 0.663 GB, free: 14.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001397/0.4774, allocations: 94.14 kB / 0.6631 GB, free: 14.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4775, allocations: 7.953 kB / 0.6631 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4775, allocations: 7.938 kB / 0.6631 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4775, allocations: 0 / 0.6631 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.4776, allocations: 16.03 kB / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4776, allocations: 4 kB / 0.6632 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.4777, allocations: 15.92 kB / 0.6632 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4777, allocations: 8 kB / 0.6632 GB, free: 14.75 MB / 490.7 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 () * 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 6.537e-05/0.4778, allocations: 105 kB / 0.6633 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.4778, allocations: 9.406 kB / 0.6633 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.4778, allocations: 12.05 kB / 0.6633 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4778, allocations: 0 / 0.6633 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4778, allocations: 4 kB / 0.6633 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4778, allocations: 3.984 kB / 0.6633 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.4782, allocations: 358.5 kB / 0.6636 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4783, allocations: 3.953 kB / 0.6636 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.4783, allocations: 7.938 kB / 0.6637 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4783, allocations: 0 / 0.6637 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4783, allocations: 0 / 0.6637 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4783, allocations: 5.125 kB / 0.6637 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4783, allocations: 0 / 0.6637 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.4785, allocations: 183.4 kB / 0.6638 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.4786, allocations: 85.06 kB / 0.6639 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.4786, allocations: 2.438 kB / 0.6639 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.4787, allocations: 7.984 kB / 0.6639 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.4787, allocations: 12.27 kB / 0.6639 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.4787, allocations: 8 kB / 0.6639 GB, free: 13.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.4788, allocations: 83.27 kB / 0.664 GB, free: 13.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4788, allocations: 0 / 0.664 GB, free: 13.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.479, allocations: 16 kB / 0.664 GB, free: 13.76 MB / 490.7 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 () * 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.0004332/0.4794, allocations: 0.7138 MB / 0.6647 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.4796, allocations: 55.92 kB / 0.6648 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4796, allocations: 0 / 0.6648 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.4797, allocations: 27.94 kB / 0.6648 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4798, allocations: 5.219 kB / 0.6648 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.4803, allocations: 154.4 kB / 0.665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.4806, allocations: 0.6927 MB / 0.6656 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.954e-05/0.4806, allocations: 4 kB / 0.6657 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.4807, allocations: 19.44 kB / 0.6657 GB, free: 12 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4807, allocations: 0 / 0.6657 GB, free: 12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.4918, allocations: 1.478 MB / 0.6671 GB, free: 10.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.492, allocations: 147.9 kB / 0.6673 GB, free: 10.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/1.897, allocations: 0 / 0.6673 GB, free: 10.44 MB / 490.7 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)