Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001076/0.001076, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.529/1.529, allocations: 205.4 MB / 0.6317 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 104.5 kB / 0.7451 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 11.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2342, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7263/0.9605, allocations: 137.3 MB / 1.115 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.9608, allocations: 73.81 kB / 1.115 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008809/0.9617, allocations: 370.9 kB / 1.115 GB, free: 32.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.125e-06/0.9617, allocations: 1.688 kB / 1.115 GB, free: 32.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.9617, allocations: 0 / 1.115 GB, free: 32.28 MB / 0.698 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.0002217/0.9619, allocations: 310.3 kB / 1.115 GB, free: 31.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.962, allocations: 8.875 kB / 1.116 GB, free: 31.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.962, allocations: 0.9375 kB / 1.116 GB, free: 31.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.9621, allocations: 160.4 kB / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.9621, allocations: 4.375 kB / 1.116 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.9621, allocations: 6.922 kB / 1.116 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.9622, allocations: 29.33 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.9622, allocations: 192 / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.9622, allocations: 3.938 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9623, allocations: 0.5 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.9623, allocations: 7.688 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.9624, allocations: 144.5 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.005e-05/0.9624, allocations: 25.05 kB / 1.116 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.9625, allocations: 8.266 kB / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.9625, allocations: 0 / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.9625, allocations: 34.59 kB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.9625, allocations: 0 / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001061/0.9626, allocations: 42.95 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.9627, allocations: 51.53 kB / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.847e-05/0.9627, allocations: 93.86 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.9627, allocations: 25.7 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.9627, allocations: 80.14 kB / 1.116 GB, free: 31.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.9628, allocations: 3.969 kB / 1.116 GB, free: 31.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-06/0.9628, allocations: 0 / 1.116 GB, free: 31.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9629, allocations: 314.2 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.9629, allocations: 2.625 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.9629, allocations: 0 / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.9629, allocations: 12.64 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.9629, allocations: 3.938 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.346e-05/0.963, allocations: 40.94 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.963, allocations: 7.406 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.963, allocations: 0 / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.963, allocations: 3.938 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.9631, allocations: 0 / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9631, allocations: 3.969 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.9631, allocations: 2.125 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.9631, allocations: 7.469 kB / 1.117 GB, free: 30.74 MB / 0.698 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 7.301e-05/0.9632, allocations: 113.9 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-06/0.9632, allocations: 0 / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.9632, allocations: 7.062 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.9632, allocations: 0 / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9632, allocations: 3.906 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.9633, allocations: 0 / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.393e-05/0.9633, allocations: 146.5 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.9633, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-06/0.9633, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.9633, allocations: 7.844 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.9634, allocations: 3.938 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9634, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9634, allocations: 1.75 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.872e-05/0.9634, allocations: 63.12 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.9635, allocations: 80.95 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.9635, allocations: 3.938 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.9635, allocations: 10.64 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.9635, allocations: 3.312 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.9635, allocations: 0 / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.9635, allocations: 75.28 kB / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9635, allocations: 0 / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001873/0.9637, allocations: 3.844 kB / 1.117 GB, free: 30.18 MB / 0.698 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 8.027e-05/0.9638, allocations: 90.78 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.556e-05/0.9639, allocations: 3.844 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.9639, allocations: 8 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.9639, allocations: 3.844 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.964, allocations: 3.938 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.9642, allocations: 78.17 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.9644, allocations: 0.6731 MB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.15e-05/0.9644, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.9644, allocations: 7.438 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.9644, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of Templates: time 0.001547/0.966, allocations: 163 kB / 1.118 GB, free: 29.25 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)