Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.026/2.026, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 181.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 108.6 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 51.56 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2564, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001624/0.2581, allocations: 0.6514 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 3.782e-05/0.2581, allocations: 7.938 kB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.2581, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.2582, allocations: 4 kB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-06/0.2582, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-05/0.2583, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.2583, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.2584, allocations: 4 kB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.153e-05/0.2584, allocations: 4 kB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.63e-05/0.2584, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.709e-06/0.2584, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-06/0.2584, allocations: 3.938 kB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/0.2584, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.2585, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 4.372e-05/0.2585, allocations: 11.97 kB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2585, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2585, allocations: 0 / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.2585, allocations: 4 kB / 1.219 GB, free: 116.6 MB / 0.823 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.0001876/0.2587, allocations: 303.6 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2588, allocations: 19.98 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.2588, allocations: 0.9375 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.218e-05/0.2588, allocations: 164.4 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.2589, allocations: 384 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2589, allocations: 8.359 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.792e-05/0.259, allocations: 34.2 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.259, allocations: 4.188 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.259, allocations: 3.938 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.259, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.259, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.288e-05/0.2591, allocations: 141.7 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.801e-05/0.2591, allocations: 18.61 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.2592, allocations: 16.84 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.2592, allocations: 4.062 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.2592, allocations: 34.5 kB / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2592, allocations: 0 / 1.219 GB, free: 115.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 9.243e-05/0.2593, allocations: 33.64 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.2593, allocations: 51.41 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.373e-05/0.2593, allocations: 89.86 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.2594, allocations: 29.83 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.628e-06/0.2594, allocations: 88.08 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2594, allocations: 7.906 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.2594, allocations: 9.719 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.2595, allocations: 314.8 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.2595, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.2595, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.2595, allocations: 12.86 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2595, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.779e-05/0.2596, allocations: 37.7 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2596, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2596, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2596, allocations: 3.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.2597, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2597, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.816e-06/0.2597, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2597, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 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 4.178e-05/0.2597, allocations: 114.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.2598, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.2598, allocations: 11.06 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2598, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2598, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2598, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.365e-05/0.2598, allocations: 149.6 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2598, allocations: 3.938 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.2599, allocations: 7.984 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2599, allocations: 4 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.2599, allocations: 3.938 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2599, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2599, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.26, allocations: 0.6006 MB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.2601, allocations: 77.11 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.2601, allocations: 4.031 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-06/0.2601, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.2601, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.2601, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.106e-05/0.2601, allocations: 75.28 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2601, allocations: 3.938 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002597/0.2604, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 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 7.255e-05/0.2605, allocations: 97.34 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.065e-05/0.2605, allocations: 12 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2605, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/0.2605, allocations: 7.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.2607, allocations: 5.344 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.2609, allocations: 173.5 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.261, allocations: 0.6731 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.261, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.261, allocations: 7.438 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.8e-07/0.261, allocations: 4.125 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of Templates: time 0.001565/0.2626, allocations: 164.6 kB / 1.222 GB, free: 112.5 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)