Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8725/0.8725, allocations: 143.4 MB / 158.3 MB, free: 5.66 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.001285/0.001285, allocations: 173.1 kB / 191.5 MB, free: 5.66 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.658/1.658, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009995/0.001, allocations: 90.22 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 273.9 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005, allocations: 12.47 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.3863, allocations: 107.9 MB / 0.8791 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.3866, allocations: 66 kB / 0.8791 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004416/0.3871, allocations: 380.8 kB / 0.8795 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3871, allocations: 4 kB / 0.8795 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3871, allocations: 0 / 0.8795 GB, free: 1.414 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002783/0.3874, allocations: 310.4 kB / 0.8798 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3874, allocations: 8.094 kB / 0.8798 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3875, allocations: 3.984 kB / 0.8798 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3876, allocations: 163 kB / 0.88 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3876, allocations: 3.953 kB / 0.88 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.3876, allocations: 8 kB / 0.88 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.3877, allocations: 33.69 kB / 0.88 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3877, allocations: 0 / 0.88 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3878, allocations: 0 / 0.88 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3878, allocations: 0 / 0.88 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.3878, allocations: 4 kB / 0.88 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.388, allocations: 145.7 kB / 0.8802 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.388, allocations: 18.52 kB / 0.8802 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.388, allocations: 7.953 kB / 0.8802 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3881, allocations: 38.66 kB / 0.8802 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.3881, allocations: 0 / 0.8802 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.3882, allocations: 29.7 kB / 0.8802 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3883, allocations: 51.41 kB / 0.8803 GB, free: 440 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/0.3883, allocations: 85 kB / 0.8804 GB, free: 348 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3883, allocations: 25.7 kB / 0.8804 GB, free: 316 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.3884, allocations: 80.14 kB / 0.8805 GB, free: 232 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3884, allocations: 288 / 0.8805 GB, free: 232 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.3884, allocations: 12.06 kB / 0.8805 GB, free: 220 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.4674/0.8558, allocations: 315.4 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.8559, allocations: 0 / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.8559, allocations: 0 / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.856, allocations: 1.281 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.856, allocations: 0 / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.333e-05/0.8561, allocations: 34.97 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8561, allocations: 4.5 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.8561, allocations: 4.422 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.8562, allocations: 0.6562 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.8562, allocations: 4.906 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8563, allocations: 0 / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.8563, allocations: 4.984 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.8563, allocations: 0.5312 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.71e-05/0.8564, allocations: 112.9 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.8564, allocations: 5.266 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.8564, allocations: 5.312 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8564, allocations: 1.938 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8564, allocations: 1.141 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8564, allocations: 0.7188 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.692e-05/0.8565, allocations: 145.6 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8565, allocations: 0.5312 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.8565, allocations: 6.453 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8566, allocations: 0.8125 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.8566, allocations: 4.703 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8566, allocations: 0.6094 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8566, allocations: 4.75 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.842e-05/0.8567, allocations: 56.8 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.8567, allocations: 77.67 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.8567, allocations: 3.375 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.8567, allocations: 6.531 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.8568, allocations: 1.531 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.8568, allocations: 2.438 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.8568, allocations: 79.42 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.8568, allocations: 0.5938 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002139/0.857, allocations: 0.8438 kB / 0.8813 GB, free: 108.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001075/0.8571, allocations: 97.03 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.8572, allocations: 3.859 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8572, allocations: 1 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.8572, allocations: 8.031 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.8573, allocations: 1.609 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.8575, allocations: 85.8 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.8577, allocations: 0.6734 MB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.8577, allocations: 1.469 kB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.8577, allocations: 8.188 kB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.8577, allocations: 0.5625 kB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.001855/0.8596, allocations: 157 kB / 0.8823 GB, free: 107.7 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)