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.9288/0.9288, 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.001426/0.001426, allocations: 182.1 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.432/1.432, allocations: 221.3 MB / 441.4 MB, free: 4.637 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.0009079/0.0009079, allocations: 94.64 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 283.9 kB / 0.594 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.645e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.442, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5658, allocations: 107.8 MB / 0.8696 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.566, allocations: 71.84 kB / 0.8696 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004253/0.5665, allocations: 377.2 kB / 0.87 GB, free: 284 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5665, allocations: 1.5 kB / 0.87 GB, free: 284 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5665, allocations: 0 / 0.87 GB, free: 284 kB / 0.5261 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.0002132/0.5667, allocations: 306.6 kB / 0.8703 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5668, allocations: 11.62 kB / 0.8703 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.5668, allocations: 3.938 kB / 0.8703 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.5669, allocations: 163.1 kB / 0.8705 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.567, allocations: 3.953 kB / 0.8705 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.567, allocations: 0 / 0.8705 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.258e-05/0.5671, allocations: 29.7 kB / 0.8705 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5671, allocations: 0 / 0.8705 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5671, allocations: 0 / 0.8705 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5671, allocations: 2.281 kB / 0.8705 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.5672, allocations: 7.938 kB / 0.8705 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.5674, allocations: 149.7 kB / 0.8706 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.5674, allocations: 14.58 kB / 0.8707 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.5674, allocations: 17.73 kB / 0.8707 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5675, allocations: 1.312 kB / 0.8707 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5675, allocations: 30.56 kB / 0.8707 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.934e-06/0.5675, allocations: 1.656 kB / 0.8707 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.5676, allocations: 33.64 kB / 0.8707 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5677, allocations: 55.41 kB / 0.8708 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.313e-05/0.5677, allocations: 85 kB / 0.8709 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.5677, allocations: 33.73 kB / 0.8709 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.5678, allocations: 80.14 kB / 0.871 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.5678, allocations: 2.672 kB / 0.871 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-06/0.5678, allocations: 0 / 0.871 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5679, allocations: 310.8 kB / 0.8713 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.5679, allocations: 0 / 0.8713 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-06/0.5679, allocations: 4 kB / 0.8713 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.489e-05/0.5679, allocations: 0 / 0.8713 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.568, allocations: 4.062 kB / 0.8713 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.536e-05/0.568, allocations: 33.69 kB / 0.8713 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.568, allocations: 13.05 kB / 0.8713 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.568, allocations: 3.938 kB / 0.8713 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5681, allocations: 0 / 0.8713 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.5681, allocations: 3.938 kB / 0.8713 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5681, allocations: 0 / 0.8713 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.5682, allocations: 4 kB / 0.8713 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.5682, allocations: 4 kB / 0.8713 GB, free: 14.7 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 () * 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 5.74e-05/0.5682, allocations: 105 kB / 0.8714 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.5682, allocations: 0 / 0.8714 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.5683, allocations: 15.05 kB / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5683, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5683, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5683, allocations: 0 / 0.8715 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.5684, allocations: 145.7 kB / 0.8716 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5684, allocations: 3.938 kB / 0.8716 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.5684, allocations: 0 / 0.8716 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5684, allocations: 0 / 0.8716 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.5684, allocations: 4 kB / 0.8716 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5684, allocations: 3.953 kB / 0.8716 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5684, allocations: 4 kB / 0.8716 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.241e-05/0.5685, allocations: 61.06 kB / 0.8717 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.5685, allocations: 77.11 kB / 0.8717 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.5686, allocations: 0 / 0.8717 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.5686, allocations: 0 / 0.8717 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.5686, allocations: 7.953 kB / 0.8717 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.5686, allocations: 4.031 kB / 0.8718 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.5686, allocations: 75.28 kB / 0.8718 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5686, allocations: 0 / 0.8718 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001935/0.5688, allocations: 0 / 0.8718 GB, free: 14.11 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 () * 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 9.75e-05/0.5689, allocations: 99.23 kB / 0.8719 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.597e-05/0.569, allocations: 8 kB / 0.8719 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.569, allocations: 0 / 0.8719 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-06/0.569, allocations: 4.062 kB / 0.8719 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.309e-05/0.5691, allocations: 0 / 0.8719 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/0.5693, allocations: 57.03 kB / 0.872 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.5695, allocations: 0.677 MB / 0.8726 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.5695, allocations: 0 / 0.8726 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.5695, allocations: 7.438 kB / 0.8727 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.5695, allocations: 0 / 0.8727 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.001583/0.5711, allocations: 165.5 kB / 0.8728 GB, free: 13.05 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)