Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.63/1.63, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007353/0.0007351, allocations: 96.3 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 12 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6742, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.8544, allocations: 140.8 MB / 1.164 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.8546, allocations: 76.77 kB / 1.164 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002513/0.8572, allocations: 1.152 MB / 1.165 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8572, allocations: 0 / 1.165 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.8572, allocations: 4 kB / 1.165 GB, free: 1.559 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002607/0.8575, allocations: 406.2 kB / 1.165 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.8575, allocations: 9.766 kB / 1.165 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.8576, allocations: 92.03 kB / 1.165 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.8577, allocations: 262.2 kB / 1.166 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.8577, allocations: 159.9 kB / 1.166 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.8577, allocations: 163.8 kB / 1.166 GB, free: 428 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.058e-05/0.8578, allocations: 104 kB / 1.166 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.8578, allocations: 79.22 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.8578, allocations: 150.6 kB / 1.166 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.8579, allocations: 156.3 kB / 1.167 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.858, allocations: 151.2 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.8583, allocations: 0.5043 MB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.8584, allocations: 166.7 kB / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.8584, allocations: 81.89 kB / 1.167 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.8584, allocations: 76.73 kB / 1.167 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.8585, allocations: 112.4 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.8585, allocations: 0 / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.743e-05/0.8586, allocations: 48.41 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.8586, allocations: 129.9 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.8589, allocations: 230.5 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.8589, allocations: 34.23 kB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.859, allocations: 115.1 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.859, allocations: 4 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.859, allocations: 0 / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.8591, allocations: 327.2 kB / 1.168 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.8592, allocations: 46.03 kB / 1.168 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.8593, allocations: 183.1 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.8595, allocations: 205.8 kB / 1.169 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8596, allocations: 7.938 kB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003866/0.86, allocations: 233.9 kB / 1.169 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.86, allocations: 10 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.86, allocations: 4 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.86, allocations: 8.75 kB / 1.169 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.8602, allocations: 42.78 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8602, allocations: 5.688 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.8603, allocations: 25.19 kB / 1.169 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.8603, allocations: 13.45 kB / 1.169 GB, free: 13.14 MB / 0.7448 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.0001222/0.8604, allocations: 224.9 kB / 1.169 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.8605, allocations: 126.6 kB / 1.169 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.8606, allocations: 112.3 kB / 1.17 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/0.8606, allocations: 176.3 kB / 1.17 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.43e-05/0.8607, allocations: 186 kB / 1.17 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.8607, allocations: 177.5 kB / 1.17 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.861, allocations: 451.2 kB / 1.171 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.861, allocations: 104.1 kB / 1.171 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.861, allocations: 101.6 kB / 1.171 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-05/0.8611, allocations: 181 kB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.8612, allocations: 176.9 kB / 1.171 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-05/0.8612, allocations: 185.8 kB / 1.171 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.107e-05/0.8613, allocations: 181.2 kB / 1.171 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.8614, allocations: 316.9 kB / 1.172 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.8615, allocations: 192 kB / 1.172 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.8615, allocations: 182.2 kB / 1.172 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.8616, allocations: 110 kB / 1.172 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.8617, allocations: 185.1 kB / 1.172 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.8617, allocations: 105.9 kB / 1.172 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001205/0.8618, allocations: 153.5 kB / 1.173 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8618, allocations: 0 / 1.173 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002852/0.8621, allocations: 28 kB / 1.173 GB, free: 9.406 MB / 0.7448 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.0001601/0.8623, allocations: 180.3 kB / 1.173 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.8625, allocations: 100.6 kB / 1.173 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8625, allocations: 0.8438 kB / 1.173 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.8625, allocations: 0 / 1.173 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.8628, allocations: 0.5306 MB / 1.173 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.8632, allocations: 306.3 kB / 1.174 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.8635, allocations: 0.7113 MB / 1.174 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.8635, allocations: 13.72 kB / 1.174 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.8636, allocations: 12.75 kB / 1.174 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.8636, allocations: 0 / 1.174 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of Templates: time 0.002848/0.8664, allocations: 0.8181 MB / 1.175 GB, free: 7.082 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)