Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7732/0.7732, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 179 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 441.4 MB, free: 4.629 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.000856, allocations: 95.06 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 270.6 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.91e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3795, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.4901, allocations: 109.3 MB / 0.871 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.4903, allocations: 76.64 kB / 0.8711 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003759/0.4941, allocations: 1.413 MB / 0.8725 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4941, allocations: 0 / 0.8725 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4941, allocations: 0 / 0.8725 GB, free: 13.78 MB / 0.5417 GB 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.0003669/0.4945, allocations: 355.8 kB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4945, allocations: 12.03 kB / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.4946, allocations: 0 / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.4947, allocations: 167.1 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4947, allocations: 11.95 kB / 0.873 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4948, allocations: 7.984 kB / 0.873 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.4949, allocations: 53.62 kB / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4949, allocations: 0 / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4949, allocations: 4 kB / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4949, allocations: 3.938 kB / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.495, allocations: 28 kB / 0.8731 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4954, allocations: 304.7 kB / 0.8734 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.4956, allocations: 50.58 kB / 0.8734 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.4956, allocations: 29.06 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.4956, allocations: 0 / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4958, allocations: 75.42 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4958, allocations: 0 / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0001788/0.496, allocations: 81.53 kB / 0.8736 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.496, allocations: 55.41 kB / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.4961, allocations: 109 kB / 0.8737 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4961, allocations: 29.7 kB / 0.8738 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4962, allocations: 80.14 kB / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.4962, allocations: 27.64 kB / 0.8739 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.4962, allocations: 4 kB / 0.8739 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4963, allocations: 322.8 kB / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.4963, allocations: 19.94 kB / 0.8742 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.4964, allocations: 43.44 kB / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.4964, allocations: 23.98 kB / 0.8743 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4964, allocations: 0 / 0.8743 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001254/0.4966, allocations: 93.45 kB / 0.8744 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4966, allocations: 8 kB / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4966, allocations: 0 / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4966, allocations: 64 / 0.8744 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.4967, allocations: 12 kB / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4967, allocations: 4 kB / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.4968, allocations: 16.02 kB / 0.8744 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4968, allocations: 4 kB / 0.8744 GB, free: 11.56 MB / 0.5417 GB 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 7.285e-05/0.4969, allocations: 116.9 kB / 0.8745 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.4969, allocations: 4 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.4969, allocations: 8.188 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4969, allocations: 7.922 kB / 0.8745 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4969, allocations: 0 / 0.8745 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.497, allocations: 0 / 0.8745 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.4973, allocations: 366.4 kB / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4973, allocations: 0 / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.4974, allocations: 4 kB / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4974, allocations: 0 / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4974, allocations: 0 / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4974, allocations: 0 / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4974, allocations: 0 / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.4975, allocations: 187.4 kB / 0.8751 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.4976, allocations: 81.02 kB / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4976, allocations: 0 / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.4977, allocations: 15.98 kB / 0.8752 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.4977, allocations: 11.92 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4978, allocations: 0 / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.4978, allocations: 91.48 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4978, allocations: 4 kB / 0.8753 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002113/0.498, allocations: 12 kB / 0.8753 GB, free: 10.57 MB / 0.5417 GB 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 9.861e-05/0.4981, allocations: 111.1 kB / 0.8754 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.4982, allocations: 47.94 kB / 0.8754 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4983, allocations: 0 / 0.8754 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.4983, allocations: 32.12 kB / 0.8755 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.4985, allocations: 8.172 kB / 0.8755 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.4987, allocations: 97.11 kB / 0.8756 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.4989, allocations: 0.6887 MB / 0.8762 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.499, allocations: 4 kB / 0.8762 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.499, allocations: 11.44 kB / 0.8762 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.499, allocations: 0 / 0.8762 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.002336/0.5014, allocations: 0.6736 MB / 0.8769 GB, free: 8.855 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)