Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006935/0.0006935, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004339/0.004339, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 0.5105 GB, free: 4.629 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004794, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.374, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0005962/0.3747, allocations: 337.5 kB / 0.729 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 2.591e-05/0.3747, allocations: 0 / 0.729 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.3747, allocations: 4 kB / 0.729 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.3747, allocations: 0 / 0.729 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-06/0.3747, allocations: 0 / 0.729 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.96e-05/0.3748, allocations: 4 kB / 0.729 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.194e-05/0.3748, allocations: 7.922 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.3749, allocations: 4 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.124e-05/0.3749, allocations: 3.938 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.495e-05/0.3749, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.3749, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-06/0.3749, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.3749, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.375, allocations: 29.7 kB / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 4.382e-05/0.375, allocations: 0 / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.375, allocations: 0 / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.375, allocations: 4 kB / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.375, allocations: 0 / 0.7291 GB, free: 10.86 MB / 0.545 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.0002087/0.3753, allocations: 311.5 kB / 0.7294 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3753, allocations: 8.094 kB / 0.7294 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.3753, allocations: 4.844 kB / 0.7294 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.3754, allocations: 168.4 kB / 0.7296 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3754, allocations: 4.375 kB / 0.7296 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.3754, allocations: 384 / 0.7296 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.78e-05/0.3755, allocations: 26.27 kB / 0.7296 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-06/0.3755, allocations: 192 / 0.7296 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3755, allocations: 3.938 kB / 0.7296 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3755, allocations: 4 kB / 0.7296 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.3756, allocations: 7.922 kB / 0.7296 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.3757, allocations: 145.7 kB / 0.7297 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.117e-05/0.3757, allocations: 26.61 kB / 0.7298 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.3757, allocations: 4.859 kB / 0.7298 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.3757, allocations: 0 / 0.7298 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.3758, allocations: 38.56 kB / 0.7298 GB, free: 9.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3758, allocations: 0 / 0.7298 GB, free: 9.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.993e-05/0.3759, allocations: 37.58 kB / 0.7299 GB, free: 9.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3759, allocations: 51.41 kB / 0.7299 GB, free: 9.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.939e-05/0.3759, allocations: 101.9 kB / 0.73 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.376, allocations: 25.7 kB / 0.73 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.376, allocations: 86.98 kB / 0.7301 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.376, allocations: 0 / 0.7301 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.376, allocations: 9.719 kB / 0.7301 GB, free: 9.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.3761, allocations: 314.8 kB / 0.7304 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.3761, allocations: 0 / 0.7304 GB, free: 9.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.3762, allocations: 0 / 0.7304 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.3762, allocations: 12.92 kB / 0.7304 GB, free: 9.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3762, allocations: 0 / 0.7304 GB, free: 9.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.041e-05/0.3762, allocations: 37.64 kB / 0.7305 GB, free: 9.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.3763, allocations: 4 kB / 0.7305 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3763, allocations: 4 kB / 0.7305 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.3763, allocations: 3.938 kB / 0.7305 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.3763, allocations: 3.984 kB / 0.7305 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.3763, allocations: 0 / 0.7305 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-06/0.3764, allocations: 0 / 0.7305 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.3764, allocations: 0 / 0.7305 GB, free: 9.215 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.3765, allocations: 115.8 kB / 0.7306 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.3765, allocations: 0 / 0.7306 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.3765, allocations: 7.062 kB / 0.7306 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.3765, allocations: 0 / 0.7306 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3765, allocations: 0 / 0.7306 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.3765, allocations: 0 / 0.7306 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.497e-05/0.3766, allocations: 153.7 kB / 0.7307 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3766, allocations: 0 / 0.7307 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-06/0.3766, allocations: 0 / 0.7307 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3766, allocations: 8 kB / 0.7307 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.3766, allocations: 3.938 kB / 0.7308 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3766, allocations: 0 / 0.7308 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3766, allocations: 4 kB / 0.7308 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.156e-05/0.3767, allocations: 57.06 kB / 0.7308 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.3767, allocations: 81.05 kB / 0.7309 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.3767, allocations: 7.938 kB / 0.7309 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-06/0.3767, allocations: 0 / 0.7309 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.3768, allocations: 8.031 kB / 0.7309 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.3768, allocations: 0 / 0.7309 GB, free: 8.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.3768, allocations: 75.28 kB / 0.731 GB, free: 8.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3768, allocations: 0 / 0.731 GB, free: 8.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000165/0.377, allocations: 0 / 0.731 GB, free: 8.613 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.568e-05/0.377, allocations: 95.25 kB / 0.7311 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.263e-05/0.3771, allocations: 3.938 kB / 0.7311 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3771, allocations: 12 kB / 0.7311 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-06/0.3771, allocations: 0 / 0.7311 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.3772, allocations: 3.984 kB / 0.7311 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.3774, allocations: 82.67 kB / 0.7312 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3776, allocations: 0.6692 MB / 0.7318 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.111e-05/0.3776, allocations: 3.984 kB / 0.7318 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.3776, allocations: 7.438 kB / 0.7318 GB, free: 7.672 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3776, allocations: 0 / 0.7318 GB, free: 7.672 MB / 0.545 GB Notification: Performance of Templates: time 0.001393/0.379, allocations: 157 kB / 0.732 GB, free: 7.52 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: