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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 293 MB / 309 MB, free: 4.82 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.0009656/0.0009656, allocations: 174.2 kB / 378.7 MB, free: 1.027 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.603/1.603, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.000914/0.0009139, allocations: 88.5 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005621/0.0005621, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2487, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6463/0.895, allocations: 138.3 MB / 1.125 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.8953, allocations: 67.11 kB / 1.126 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0003482/0.8956, allocations: 383.4 kB / 1.126 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8956, allocations: 4.062 kB / 1.126 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.8957, allocations: 1 kB / 1.126 GB, free: 34.87 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.0002015/0.8959, allocations: 303.6 kB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8959, allocations: 8.719 kB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.896, allocations: 0.9375 kB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.8961, allocations: 169.1 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.8961, allocations: 2.781 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.8961, allocations: 384 / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.8962, allocations: 27.8 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8962, allocations: 0.8438 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.8962, allocations: 3.938 kB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8962, allocations: 5.109 kB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.8963, allocations: 5.875 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.8964, allocations: 149.2 kB / 1.127 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.8965, allocations: 22.02 kB / 1.127 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.8965, allocations: 5.609 kB / 1.127 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.8965, allocations: 2.25 kB / 1.127 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.8965, allocations: 36.16 kB / 1.127 GB, free: 34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.8965, allocations: 0 / 1.127 GB, free: 34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.8967, allocations: 41.58 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.8967, allocations: 52.88 kB / 1.127 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.061e-05/0.8968, allocations: 93.47 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.8968, allocations: 26.27 kB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.8968, allocations: 84.27 kB / 1.127 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.8968, allocations: 0.7812 kB / 1.127 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.8968, allocations: 0 / 1.127 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.8969, allocations: 314.8 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.8969, allocations: 4 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.8969, allocations: 2.516 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.897, allocations: 8.859 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.897, allocations: 0 / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.29e-05/0.897, allocations: 38.33 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8971, allocations: 7.609 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8971, allocations: 0 / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8971, allocations: 7.938 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.8971, allocations: 0.6562 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.8972, allocations: 0 / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.8972, allocations: 0 / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.8972, allocations: 0 / 1.127 GB, free: 33.29 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 5.992e-05/0.8972, allocations: 117.8 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-06/0.8973, allocations: 4.031 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.8973, allocations: 8.188 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.8973, allocations: 0.5625 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8973, allocations: 0.625 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.8973, allocations: 0 / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.863e-05/0.8974, allocations: 149.3 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8974, allocations: 4 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.8974, allocations: 0.5 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.8974, allocations: 0.5625 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.8974, allocations: 3.938 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8974, allocations: 0.8125 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.8974, allocations: 4 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.765e-05/0.8975, allocations: 68.59 kB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.8975, allocations: 77.11 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.8976, allocations: 4.5 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-06/0.8976, allocations: 0.75 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.8976, allocations: 0 / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.8976, allocations: 4.812 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.8976, allocations: 79.31 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.8976, allocations: 0 / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002189/0.8979, allocations: 0.9375 kB / 1.128 GB, free: 32.7 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 9.441e-05/0.898, allocations: 94.86 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.898, allocations: 4 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.898, allocations: 3.609 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.685e-06/0.8981, allocations: 11.94 kB / 1.128 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.8982, allocations: 4.125 kB / 1.128 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.8984, allocations: 71.52 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.8985, allocations: 0.6767 MB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.8986, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.8986, allocations: 8.375 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8986, allocations: 0 / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.001802/0.9004, allocations: 154.2 kB / 1.129 GB, free: 31.69 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)