Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6662/0.6662, allocations: 117.9 MB / 133.9 MB, free: 4.531 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009507/0.0009507, allocations: 180.1 kB / 161.7 MB, free: 2.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.3 MB / 394.8 MB, free: 20.99 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 97.41 kB / 470.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003794, allocations: 12 kB / 0.5423 GB, free: 6.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3983, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.5333, allocations: 102.2 MB / 0.7149 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.5336, allocations: 71.95 kB / 0.715 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00342/0.537, allocations: 1.119 MB / 0.7161 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.937e-06/0.5371, allocations: 4 kB / 0.7161 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5371, allocations: 0 / 0.7161 GB, free: 14.6 MB / 0.4948 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.0005067/0.5376, allocations: 359.5 kB / 0.7164 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5376, allocations: 8.031 kB / 0.7164 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.5377, allocations: 8.844 kB / 0.7164 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.5379, allocations: 168.3 kB / 0.7166 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5379, allocations: 12.31 kB / 0.7166 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.5379, allocations: 4.375 kB / 0.7166 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.538, allocations: 50.25 kB / 0.7167 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5381, allocations: 192 / 0.7167 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5381, allocations: 7.922 kB / 0.7167 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.5381, allocations: 7.938 kB / 0.7167 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.5382, allocations: 31.97 kB / 0.7167 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.5387, allocations: 304.7 kB / 0.717 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.5389, allocations: 50.56 kB / 0.717 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.5389, allocations: 32.94 kB / 0.7171 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.5389, allocations: 0 / 0.7171 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.5391, allocations: 79.34 kB / 0.7172 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.5392, allocations: 0 / 0.7172 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002534/0.5394, allocations: 97.61 kB / 0.7172 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5395, allocations: 55.41 kB / 0.7173 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.5396, allocations: 113.8 kB / 0.7174 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5396, allocations: 29.7 kB / 0.7174 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.5397, allocations: 84.14 kB / 0.7175 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.5397, allocations: 23.7 kB / 0.7175 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.5397, allocations: 0 / 0.7175 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5399, allocations: 318.8 kB / 0.7178 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.5399, allocations: 19.98 kB / 0.7179 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.54, allocations: 51.36 kB / 0.7179 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.5401, allocations: 59.44 kB / 0.718 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5401, allocations: 0 / 0.718 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001566/0.5402, allocations: 93.55 kB / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5403, allocations: 4 kB / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5403, allocations: 4 kB / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5403, allocations: 0 / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/0.5404, allocations: 12.05 kB / 0.7181 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5404, allocations: 8.031 kB / 0.7181 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.5405, allocations: 19.84 kB / 0.7181 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.5405, allocations: 4 kB / 0.7181 GB, free: 12.27 MB / 0.4948 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 () * 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 0.0001017/0.5406, allocations: 126.7 kB / 0.7182 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.5406, allocations: 4 kB / 0.7182 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.5407, allocations: 11.91 kB / 0.7182 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5407, allocations: 288 / 0.7182 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5407, allocations: 4 kB / 0.7182 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5407, allocations: 0 / 0.7182 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.5411, allocations: 366.7 kB / 0.7186 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5411, allocations: 4.094 kB / 0.7186 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.5412, allocations: 7.922 kB / 0.7186 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5412, allocations: 4 kB / 0.7186 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5412, allocations: 0 / 0.7186 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5412, allocations: 4 kB / 0.7186 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5412, allocations: 7.875 kB / 0.7186 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.5414, allocations: 175.5 kB / 0.7188 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.5414, allocations: 81.02 kB / 0.7189 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.5415, allocations: 8 kB / 0.7189 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.5416, allocations: 7.938 kB / 0.7189 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.5416, allocations: 11.92 kB / 0.7189 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.5416, allocations: 11.98 kB / 0.7189 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.5417, allocations: 83.28 kB / 0.719 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5417, allocations: 0 / 0.719 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002366/0.5419, allocations: 8 kB / 0.719 GB, free: 11.27 MB / 0.4948 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 () * 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.0001189/0.5421, allocations: 104.2 kB / 0.7191 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.5422, allocations: 55.91 kB / 0.7191 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5422, allocations: 0 / 0.7191 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.5423, allocations: 28 kB / 0.7192 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5425, allocations: 15.98 kB / 0.7192 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.543, allocations: 164.7 kB / 0.7193 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5433, allocations: 0.6926 MB / 0.72 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.5433, allocations: 7.984 kB / 0.72 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.5434, allocations: 11.44 kB / 0.72 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.5434, allocations: 288 / 0.72 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.002838/0.5462, allocations: 0.6672 MB / 0.7207 GB, free: 9.465 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)