Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 189 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 89.39 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003631, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7663/1.074, allocations: 138.2 MB / 1.123 GB, free: 36.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.075, allocations: 66.5 kB / 1.123 GB, free: 36.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004638/1.075, allocations: 379.2 kB / 1.124 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.406e-06/1.075, allocations: 0.5 kB / 1.124 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.075, allocations: 1.938 kB / 1.124 GB, free: 35.76 MB / 0.7292 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.0002245/1.075, allocations: 303.4 kB / 1.124 GB, free: 35.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.076, allocations: 12.08 kB / 1.124 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/1.076, allocations: 0 / 1.124 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/1.076, allocations: 170 kB / 1.124 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/1.076, allocations: 1.906 kB / 1.124 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/1.076, allocations: 0 / 1.124 GB, free: 35.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/1.076, allocations: 29.14 kB / 1.124 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.076, allocations: 3.938 kB / 1.124 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/1.076, allocations: 2.078 kB / 1.124 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.076, allocations: 5.609 kB / 1.124 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/1.076, allocations: 1.75 kB / 1.124 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/1.076, allocations: 149.1 kB / 1.124 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.663e-05/1.076, allocations: 19.77 kB / 1.124 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/1.076, allocations: 0 / 1.124 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/1.076, allocations: 34.78 kB / 1.124 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/1.076, allocations: 0 / 1.124 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/1.076, allocations: 37.7 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/1.076, allocations: 53.81 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.06e-05/1.076, allocations: 85.66 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/1.076, allocations: 28.11 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.565e-05/1.076, allocations: 84.14 kB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/1.076, allocations: 4.25 kB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-06/1.076, allocations: 0 / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/1.076, allocations: 310.8 kB / 1.125 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-06/1.076, allocations: 0.9375 kB / 1.125 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/1.076, allocations: 0.6562 kB / 1.125 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.959e-05/1.076, allocations: 7.531 kB / 1.125 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.076, allocations: 0.5469 kB / 1.125 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.04e-05/1.077, allocations: 38.27 kB / 1.125 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.077, allocations: 7.953 kB / 1.125 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/1.077, allocations: 0 / 1.125 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.077, allocations: 7.469 kB / 1.125 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/1.077, allocations: 4.688 kB / 1.125 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/1.077, allocations: 0 / 1.125 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-06/1.077, allocations: 224 / 1.125 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/1.077, allocations: 4.938 kB / 1.125 GB, free: 34.21 MB / 0.7292 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 4.613e-05/1.077, allocations: 109.8 kB / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-06/1.077, allocations: 0 / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/1.077, allocations: 7.703 kB / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/1.077, allocations: 0 / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.077, allocations: 0.75 kB / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/1.077, allocations: 0 / 1.125 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.202e-05/1.077, allocations: 155.2 kB / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.077, allocations: 1 kB / 1.125 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-06/1.077, allocations: 4 kB / 1.125 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/1.077, allocations: 0 / 1.125 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/1.077, allocations: 0 / 1.125 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.077, allocations: 3.953 kB / 1.125 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.077, allocations: 1.359 kB / 1.125 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.141e-05/1.077, allocations: 64.41 kB / 1.125 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/1.077, allocations: 77.11 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/1.077, allocations: 0.6875 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/1.077, allocations: 8.031 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/1.077, allocations: 7.953 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/1.077, allocations: 0.5625 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.288e-05/1.077, allocations: 75.28 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/1.077, allocations: 0 / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001977/1.077, allocations: 0 / 1.126 GB, free: 33.63 MB / 0.7292 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 7.684e-05/1.077, allocations: 98.81 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.875e-05/1.077, allocations: 4 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.077, allocations: 1.031 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/1.077, allocations: 7.938 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.658e-05/1.078, allocations: 0 / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001553/1.078, allocations: 79.7 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/1.078, allocations: 0.6766 MB / 1.126 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.332e-05/1.078, allocations: 0 / 1.126 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/1.078, allocations: 7.438 kB / 1.126 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of SimCode: time 5.72e-07/1.078, allocations: 0 / 1.126 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.001706/1.08, allocations: 156.8 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)