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.7757/0.7757, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 179.5 kB / 191.5 MB, free: 5.754 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.429/1.429, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0008161/0.0008161, allocations: 92.27 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 270.7 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 11.38 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.2877, allocations: 109.3 MB / 0.8804 GB, free: 472 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.288, allocations: 77.98 kB / 0.8805 GB, free: 396 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3182/0.6061, allocations: 1.132 MB / 0.8816 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6062, allocations: 0 / 0.8816 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.6062, allocations: 0.8438 kB / 0.8816 GB, free: 109.4 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.0004159/0.6066, allocations: 360 kB / 0.8819 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6067, allocations: 12.2 kB / 0.8819 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.6067, allocations: 1.25 kB / 0.882 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.6068, allocations: 176.9 kB / 0.8821 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6069, allocations: 6.578 kB / 0.8821 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.6069, allocations: 9.188 kB / 0.8821 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.607, allocations: 53.72 kB / 0.8822 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.607, allocations: 0 / 0.8822 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.607, allocations: 2.938 kB / 0.8822 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.607, allocations: 0 / 0.8822 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.6071, allocations: 29.88 kB / 0.8822 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.6075, allocations: 304.5 kB / 0.8825 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.6077, allocations: 55.23 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.6077, allocations: 7.375 kB / 0.8826 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.6078, allocations: 68.5 kB / 0.8826 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.6078, allocations: 0 / 0.8826 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002134/0.6081, allocations: 108.9 kB / 0.8827 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.6081, allocations: 61.45 kB / 0.8828 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.366e-05/0.6082, allocations: 96.52 kB / 0.8829 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.6082, allocations: 27.95 kB / 0.8829 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.6082, allocations: 88.42 kB / 0.883 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.6082, allocations: 19.66 kB / 0.883 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.6083, allocations: 7.312 kB / 0.883 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.6083, allocations: 321.2 kB / 0.8833 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.6083, allocations: 19.12 kB / 0.8833 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.6084, allocations: 41.92 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.6084, allocations: 18.25 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6084, allocations: 0 / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001227/0.6086, allocations: 107.1 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6086, allocations: 4.594 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.6086, allocations: 0.6875 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6086, allocations: 4.984 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.6087, allocations: 9.219 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6087, allocations: 2.875 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.6088, allocations: 12.48 kB / 0.8835 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.6088, allocations: 5.125 kB / 0.8835 GB, free: 107.7 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 () * 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 6.511e-05/0.6089, allocations: 131.2 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.6089, allocations: 6.75 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.6089, allocations: 9.469 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6089, allocations: 3.547 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6089, allocations: 0 / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.609, allocations: 7.125 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.6093, allocations: 358.1 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6093, allocations: 4 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.6093, allocations: 6.094 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6093, allocations: 0 / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.6093, allocations: 3.281 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6093, allocations: 0.8125 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6094, allocations: 2.844 kB / 0.8841 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.6095, allocations: 185.7 kB / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.6095, allocations: 83.48 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.6095, allocations: 4.516 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.6096, allocations: 9.125 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.6097, allocations: 9.391 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.6097, allocations: 2.781 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.6097, allocations: 87.84 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6097, allocations: 0 / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002228/0.6099, allocations: 13.97 kB / 0.8844 GB, free: 107 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 () * 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 8.751e-05/0.61, allocations: 107.7 kB / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.6101, allocations: 53.41 kB / 0.8846 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6102, allocations: 2.5 kB / 0.8846 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.6102, allocations: 24.41 kB / 0.8846 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.6104, allocations: 14.27 kB / 0.8846 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.6108, allocations: 177.4 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.6109, allocations: 0.6883 MB / 0.8855 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.6109, allocations: 6 kB / 0.8855 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.611, allocations: 12.72 kB / 0.8855 GB, free: 106 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.611, allocations: 0 / 0.8855 GB, free: 106 MB / 0.5417 GB Notification: Performance of Templates: time 0.002521/0.6135, allocations: 0.6601 MB / 0.8861 GB, free: 106 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)