Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.512/2.512, allocations: 287.5 MB / 303.2 MB, free: 8.285 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.001377/0.001377, allocations: 180.8 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009676/0.0009668, allocations: 89.27 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 10.38 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9135/1.148, allocations: 137.4 MB / 1.113 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.149, allocations: 77.67 kB / 1.114 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00437/1.153, allocations: 1.114 MB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.153, allocations: 0 / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.153, allocations: 3.844 kB / 1.115 GB, free: 31.54 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004401/1.154, allocations: 403.8 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.154, allocations: 14.78 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/1.154, allocations: 95.75 kB / 1.115 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/1.154, allocations: 264.6 kB / 1.115 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/1.154, allocations: 158.2 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/1.154, allocations: 160 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/1.154, allocations: 109.3 kB / 1.116 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/1.154, allocations: 79.22 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/1.154, allocations: 154.6 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/1.154, allocations: 150.6 kB / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/1.155, allocations: 154.4 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/1.155, allocations: 0.4946 MB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/1.155, allocations: 177 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/1.155, allocations: 80.14 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/1.155, allocations: 75.28 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/1.155, allocations: 107.1 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/1.155, allocations: 0 / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/1.155, allocations: 46.45 kB / 1.117 GB, free: 28.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.156, allocations: 134.6 kB / 1.117 GB, free: 28.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/1.156, allocations: 230.3 kB / 1.118 GB, free: 28.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/1.156, allocations: 33.59 kB / 1.118 GB, free: 28.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/1.156, allocations: 111.4 kB / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/1.156, allocations: 0 / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.156, allocations: 7.656 kB / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.156, allocations: 321.8 kB / 1.118 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.156, allocations: 44.25 kB / 1.118 GB, free: 28.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/1.157, allocations: 176.4 kB / 1.118 GB, free: 28.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/1.157, allocations: 215.6 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.157, allocations: 3.688 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005908/1.157, allocations: 231.9 kB / 1.119 GB, free: 27.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.157, allocations: 7.719 kB / 1.119 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.157, allocations: 4.438 kB / 1.119 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.158, allocations: 11.75 kB / 1.119 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.158, allocations: 40.66 kB / 1.119 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.158, allocations: 11.45 kB / 1.119 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/1.158, allocations: 22.19 kB / 1.119 GB, free: 27.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/1.158, allocations: 12.92 kB / 1.119 GB, free: 27.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 0.0001892/1.158, allocations: 226.3 kB / 1.119 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/1.158, allocations: 117.5 kB / 1.119 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/1.158, allocations: 114.8 kB / 1.119 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.572e-05/1.158, allocations: 188.6 kB / 1.119 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-05/1.159, allocations: 177.5 kB / 1.12 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.843e-05/1.159, allocations: 181.6 kB / 1.12 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/1.159, allocations: 443.2 kB / 1.12 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/1.159, allocations: 104.9 kB / 1.12 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/1.159, allocations: 112.1 kB / 1.12 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.937e-05/1.159, allocations: 176.3 kB / 1.121 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/1.159, allocations: 184.4 kB / 1.121 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.152e-05/1.159, allocations: 180.2 kB / 1.121 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.86e-05/1.159, allocations: 182 kB / 1.121 GB, free: 25.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/1.16, allocations: 319.8 kB / 1.121 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.16, allocations: 192.5 kB / 1.122 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/1.16, allocations: 177.4 kB / 1.122 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.16, allocations: 113 kB / 1.122 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/1.16, allocations: 176.3 kB / 1.122 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/1.16, allocations: 114.3 kB / 1.122 GB, free: 24.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001969/1.16, allocations: 157.5 kB / 1.122 GB, free: 24.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.16, allocations: 0 / 1.122 GB, free: 24.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004333/1.161, allocations: 30.62 kB / 1.122 GB, free: 24.15 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 (0): * Single equations (assignments): 0 * 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.0002027/1.161, allocations: 177.8 kB / 1.122 GB, free: 23.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002642/1.161, allocations: 104.4 kB / 1.123 GB, free: 23.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.161, allocations: 0 / 1.123 GB, free: 23.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/1.161, allocations: 0 / 1.123 GB, free: 23.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/1.162, allocations: 0.5226 MB / 1.123 GB, free: 23.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/1.162, allocations: 319.4 kB / 1.123 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/1.163, allocations: 0.7099 MB / 1.124 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.101e-05/1.163, allocations: 15.31 kB / 1.124 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/1.163, allocations: 14.62 kB / 1.124 GB, free: 22.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.163, allocations: 0 / 1.124 GB, free: 22.49 MB / 0.698 GB Notification: Performance of Templates: time 0.003961/1.167, allocations: 0.8176 MB / 1.125 GB, free: 22.39 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)