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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7746/0.7746, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 171.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 90.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001619/0.001619, allocations: 269.7 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3735, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5053, allocations: 106.4 MB / 0.8434 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5056, allocations: 71.97 kB / 0.8434 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005216/0.5062, allocations: 376.9 kB / 0.8438 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.168e-06/0.5062, allocations: 0 / 0.8438 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5062, allocations: 0 / 0.8438 GB, free: 3.352 MB / 0.5105 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.0002534/0.5065, allocations: 307.6 kB / 0.8441 GB, free: 3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5065, allocations: 12.09 kB / 0.8441 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.5066, allocations: 4.938 kB / 0.8441 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.5067, allocations: 168.4 kB / 0.8443 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5067, allocations: 384 / 0.8443 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.5067, allocations: 384 / 0.8443 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5068, allocations: 34.27 kB / 0.8443 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5068, allocations: 4.125 kB / 0.8443 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.5069, allocations: 3.938 kB / 0.8443 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5069, allocations: 3.938 kB / 0.8443 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.5069, allocations: 0 / 0.8443 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.507, allocations: 141.7 kB / 0.8445 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.5071, allocations: 22.61 kB / 0.8445 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.5071, allocations: 12.84 kB / 0.8445 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.5072, allocations: 4.062 kB / 0.8445 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.5072, allocations: 30.56 kB / 0.8445 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 4.749e-06/0.5072, allocations: 0 / 0.8445 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.5074, allocations: 37.58 kB / 0.8446 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.5074, allocations: 51.41 kB / 0.8446 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.036e-05/0.5074, allocations: 93.86 kB / 0.8447 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.5075, allocations: 25.83 kB / 0.8447 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.5075, allocations: 84.14 kB / 0.8448 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.5075, allocations: 6.672 kB / 0.8448 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.5076, allocations: 3.938 kB / 0.8448 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5077, allocations: 314.8 kB / 0.8451 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.5077, allocations: 0 / 0.8451 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.5077, allocations: 0 / 0.8451 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.5077, allocations: 12.8 kB / 0.8451 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5077, allocations: 4.062 kB / 0.8451 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.113e-05/0.5078, allocations: 33.7 kB / 0.8452 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5078, allocations: 8 kB / 0.8452 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5078, allocations: 0 / 0.8452 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5079, allocations: 3.938 kB / 0.8452 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.5079, allocations: 0 / 0.8452 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.508, allocations: 0 / 0.8452 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.508, allocations: 0 / 0.8452 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.508, allocations: 7.984 kB / 0.8452 GB, free: 1.727 MB / 0.5105 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 8.067e-05/0.5081, allocations: 113.9 kB / 0.8453 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.5081, allocations: 3.906 kB / 0.8453 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.5081, allocations: 7.062 kB / 0.8453 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5081, allocations: 0 / 0.8453 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5081, allocations: 0 / 0.8453 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5081, allocations: 0 / 0.8453 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.5082, allocations: 145.7 kB / 0.8454 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5083, allocations: 0 / 0.8454 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.5083, allocations: 15.86 kB / 0.8455 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5083, allocations: 0 / 0.8455 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5083, allocations: 3.938 kB / 0.8455 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5083, allocations: 8 kB / 0.8455 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5083, allocations: 0 / 0.8455 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.322e-05/0.5084, allocations: 49.14 kB / 0.8455 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.5084, allocations: 77.11 kB / 0.8456 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5085, allocations: 7.922 kB / 0.8456 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.5085, allocations: 4 kB / 0.8456 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.5085, allocations: 8 kB / 0.8456 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.5085, allocations: 4.031 kB / 0.8456 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.5085, allocations: 75.28 kB / 0.8457 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5086, allocations: 0 / 0.8457 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002103/0.5088, allocations: 0 / 0.8457 GB, free: 1.121 MB / 0.5105 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.0001066/0.5089, allocations: 95.88 kB / 0.8458 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.28e-05/0.5089, allocations: 7.938 kB / 0.8458 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.509, allocations: 0 / 0.8458 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.509, allocations: 4.062 kB / 0.8458 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.5091, allocations: 0 / 0.8458 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.5093, allocations: 82.69 kB / 0.8459 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.5096, allocations: 0.6692 MB / 0.8465 GB, free: 208 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.205e-05/0.5096, allocations: 0 / 0.8465 GB, free: 208 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.5096, allocations: 7.438 kB / 0.8465 GB, free: 204 kB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/0.5096, allocations: 0 / 0.8465 GB, free: 204 kB / 0.5105 GB Notification: Performance of Templates: time 0.00181/0.5114, allocations: 162 kB / 0.8467 GB, free: 44 kB / 0.5105 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)