Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001739/0.001739, allocations: 179 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.5391/0.5391, 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.344/1.344, allocations: 221.3 MB / 348.3 MB, free: 436 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.0009428/0.0009428, allocations: 105.2 kB / 421.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.932e-05, allocations: 0 / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3494, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4689, allocations: 102.2 MB / 0.6601 GB, free: 2.105 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4691, allocations: 71.95 kB / 0.6602 GB, free: 2.035 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004197/0.4734, allocations: 1.403 MB / 0.6615 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4734, allocations: 0 / 0.6615 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4734, allocations: 0 / 0.6615 GB, free: 0.6445 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.0004575/0.4739, allocations: 354.3 kB / 0.6619 GB, free: 260 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4739, allocations: 15.98 kB / 0.6619 GB, free: 244 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.474, allocations: 38.5 kB / 0.6619 GB, free: 196 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.474, allocations: 15.84 kB / 0.6619 GB, free: 180 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.4742, allocations: 171 kB / 0.6621 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4742, allocations: 0 / 0.6621 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.4742, allocations: 8 kB / 0.6621 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4743, allocations: 54.91 kB / 0.6622 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4744, allocations: 4 kB / 0.6622 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4744, allocations: 0 / 0.6622 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4744, allocations: 3.953 kB / 0.6622 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.4745, allocations: 31.98 kB / 0.6622 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.475, allocations: 296.8 kB / 0.6625 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.4751, allocations: 54.56 kB / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.4751, allocations: 25.17 kB / 0.6626 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4752, allocations: 7.891 kB / 0.6626 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.4753, allocations: 77.91 kB / 0.6627 GB, free: 15.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.4753, allocations: 0 / 0.6627 GB, free: 15.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001951/0.4755, allocations: 81.62 kB / 0.6627 GB, free: 15.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.4756, allocations: 55.41 kB / 0.6628 GB, free: 15.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.4757, allocations: 101 kB / 0.6629 GB, free: 15.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4757, allocations: 33.7 kB / 0.6629 GB, free: 15.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.4757, allocations: 84.05 kB / 0.663 GB, free: 14.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.4758, allocations: 23.73 kB / 0.663 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4758, allocations: 0 / 0.663 GB, free: 14.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4759, allocations: 314.8 kB / 0.6633 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.476, allocations: 16 kB / 0.6633 GB, free: 14.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.476, allocations: 48.73 kB / 0.6634 GB, free: 14.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.4761, allocations: 19.94 kB / 0.6634 GB, free: 14.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4761, allocations: 0 / 0.6634 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001477/0.4762, allocations: 97.75 kB / 0.6635 GB, free: 14.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4763, allocations: 7.953 kB / 0.6635 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4763, allocations: 3.938 kB / 0.6635 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4763, allocations: 4.047 kB / 0.6635 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.4764, allocations: 20.75 kB / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4764, allocations: 0 / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.4765, allocations: 16.03 kB / 0.6635 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.4765, allocations: 4 kB / 0.6635 GB, free: 14.37 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.542e-05/0.4765, allocations: 109 kB / 0.6636 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4766, allocations: 7.891 kB / 0.6637 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.4766, allocations: 12.05 kB / 0.6637 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4766, allocations: 4 kB / 0.6637 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4766, allocations: 0 / 0.6637 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4766, allocations: 2.438 kB / 0.6637 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.477, allocations: 354.5 kB / 0.664 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4771, allocations: 7.953 kB / 0.664 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.4771, allocations: 3.938 kB / 0.664 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4771, allocations: 4 kB / 0.664 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4771, allocations: 8.062 kB / 0.664 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4771, allocations: 3.984 kB / 0.664 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4771, allocations: 0 / 0.664 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.4773, allocations: 179.4 kB / 0.6642 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.4774, allocations: 85.06 kB / 0.6643 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4774, allocations: 3.984 kB / 0.6643 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.4775, allocations: 8 kB / 0.6643 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.4775, allocations: 8.828 kB / 0.6643 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.4775, allocations: 4 kB / 0.6643 GB, free: 13.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.826e-05/0.4776, allocations: 91.27 kB / 0.6644 GB, free: 13.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4776, allocations: 0 / 0.6644 GB, free: 13.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.4778, allocations: 12 kB / 0.6644 GB, free: 13.38 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.0004496/0.4783, allocations: 0.7209 MB / 0.6651 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.4784, allocations: 51.94 kB / 0.6652 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4784, allocations: 4.062 kB / 0.6652 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.4785, allocations: 23.94 kB / 0.6652 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.4787, allocations: 16.14 kB / 0.6652 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.479, allocations: 130.5 kB / 0.6653 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4793, allocations: 0.6888 MB / 0.666 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.022e-05/0.4794, allocations: 7.984 kB / 0.666 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.4794, allocations: 15.44 kB / 0.666 GB, free: 11.64 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4794, allocations: 4 kB / 0.666 GB, free: 11.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.4913, allocations: 1.482 MB / 0.6675 GB, free: 10.31 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.4916, allocations: 170 kB / 0.6676 GB, free: 10.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.978, allocations: 0 / 0.6676 GB, free: 10.07 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)