Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.727/0.727, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001014/0.001014, allocations: 180 kB / 187.3 MB, free: 11.9 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.324/1.324, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009573/0.0009575, allocations: 95.84 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 275.3 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.097e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3815, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4968, allocations: 109.2 MB / 0.8709 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4971, allocations: 83.75 kB / 0.871 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003122/0.5002, allocations: 1.129 MB / 0.8721 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5002, allocations: 0 / 0.8721 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5003, allocations: 0 / 0.8721 GB, free: 14.17 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.0003753/0.5006, allocations: 342.5 kB / 0.8724 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5007, allocations: 18.28 kB / 0.8724 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.5007, allocations: 3.906 kB / 0.8724 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5009, allocations: 175 kB / 0.8726 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5009, allocations: 7.953 kB / 0.8726 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.5009, allocations: 4 kB / 0.8726 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.501, allocations: 57.62 kB / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.501, allocations: 0 / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5011, allocations: 8 kB / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5011, allocations: 0 / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.5011, allocations: 23.98 kB / 0.8727 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.5016, allocations: 312.7 kB / 0.873 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.5017, allocations: 50.56 kB / 0.873 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.5018, allocations: 25.08 kB / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.5018, allocations: 4 kB / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.502, allocations: 71.42 kB / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.502, allocations: 4 kB / 0.8731 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0001881/0.5022, allocations: 73.62 kB / 0.8732 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.5022, allocations: 59.41 kB / 0.8733 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.5023, allocations: 104.9 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5023, allocations: 25.7 kB / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.5024, allocations: 88.08 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.5024, allocations: 23.7 kB / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.5024, allocations: 0 / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5025, allocations: 322.8 kB / 0.8738 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.5026, allocations: 19.94 kB / 0.8738 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.5027, allocations: 51.45 kB / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.5027, allocations: 23.94 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5027, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000141/0.5029, allocations: 93.78 kB / 0.874 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.5029, allocations: 8 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5029, allocations: 4.078 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5029, allocations: 3.984 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.503, allocations: 11.98 kB / 0.874 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.503, allocations: 4 kB / 0.874 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.5031, allocations: 11.84 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5031, allocations: 8 kB / 0.874 GB, free: 11.94 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 6.734e-05/0.5032, allocations: 113.5 kB / 0.8741 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5032, allocations: 4 kB / 0.8742 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.5032, allocations: 16.08 kB / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5032, allocations: 0 / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5032, allocations: 0 / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5032, allocations: 0 / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.5037, allocations: 366.4 kB / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5037, allocations: 0 / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.5037, allocations: 4 kB / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5037, allocations: 4 kB / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.5037, allocations: 0 / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5037, allocations: 3.984 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5037, allocations: 4 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.5039, allocations: 179.4 kB / 0.8747 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.504, allocations: 81.02 kB / 0.8748 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.504, allocations: 3.984 kB / 0.8748 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.5041, allocations: 12 kB / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.5041, allocations: 11.92 kB / 0.8748 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.5041, allocations: 8.125 kB / 0.8748 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.5042, allocations: 79.28 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5042, allocations: 3.938 kB / 0.8749 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002138/0.5044, allocations: 19.98 kB / 0.8749 GB, free: 10.95 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.152e-05/0.5045, allocations: 101.3 kB / 0.875 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5046, allocations: 55.94 kB / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5047, allocations: 0 / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.5047, allocations: 23.94 kB / 0.8751 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.5049, allocations: 11.98 kB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.5052, allocations: 105.1 kB / 0.8752 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.5054, allocations: 0.6927 MB / 0.8759 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.5055, allocations: 4 kB / 0.8759 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.5055, allocations: 11.44 kB / 0.8759 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.5055, allocations: 0 / 0.8759 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of Templates: time 0.002541/0.508, allocations: 0.6682 MB / 0.8765 GB, free: 9.238 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)