Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009526/0.0009527, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006649/0.006649, allocations: 171.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.116/3.116, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 17.89 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4625, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001444/0.4639, allocations: 0.9431 MB / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002933/0.4643, allocations: 51.83 kB / 1.075 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.4643, allocations: 0 / 1.075 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.4643, allocations: 7.922 kB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.4645, allocations: 10.17 kB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.4647, allocations: 11.97 kB / 1.075 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.4648, allocations: 35.91 kB / 1.075 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.4648, allocations: 4 kB / 1.075 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.4649, allocations: 4 kB / 1.075 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.465, allocations: 25.41 kB / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.465, allocations: 0 / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.4651, allocations: 4 kB / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.4652, allocations: 44.45 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.4652, allocations: 69.38 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.4654, allocations: 67.94 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4654, allocations: 4 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4654, allocations: 4 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4654, allocations: 0 / 1.075 GB, free: 6.262 MB / 0.8262 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.0004456/0.4659, allocations: 403 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4659, allocations: 12.03 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.466, allocations: 88.03 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.4662, allocations: 282.5 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.4662, allocations: 154.6 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.4663, allocations: 150.6 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.312e-05/0.4664, allocations: 109 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.4664, allocations: 79.22 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.4665, allocations: 150.6 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.4666, allocations: 150.6 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.4666, allocations: 158.5 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.467, allocations: 0.49 MB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.4671, allocations: 169.1 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.4671, allocations: 80.14 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.4671, allocations: 79.28 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.4672, allocations: 105.8 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4672, allocations: 0 / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.635e-05/0.4673, allocations: 45.45 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.4674, allocations: 126.7 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.4676, allocations: 231 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4677, allocations: 25.7 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.4677, allocations: 116 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.4677, allocations: 0 / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.4678, allocations: 29.7 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4679, allocations: 326.8 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.468, allocations: 59.95 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.4681, allocations: 56.52 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.4683, allocations: 136.7 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4683, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003394/0.4686, allocations: 181.3 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4687, allocations: 8.062 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.4687, allocations: 3.984 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4687, allocations: 0 / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.4687, allocations: 3.984 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4687, allocations: 0 / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.4688, allocations: 15.78 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4688, allocations: 11.94 kB / 1.079 GB, free: 2.062 MB / 0.8262 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): 0 * Array equations: 1 * 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 0.0001429/0.4689, allocations: 205.1 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.469, allocations: 120.7 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.4691, allocations: 117.3 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-05/0.4691, allocations: 180.3 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.721e-05/0.4692, allocations: 184.2 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.298e-05/0.4693, allocations: 176.3 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.4696, allocations: 445.1 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/0.4697, allocations: 105 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.4697, allocations: 105 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.666e-05/0.4698, allocations: 180.2 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.4699, allocations: 176.3 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.885e-05/0.47, allocations: 188.2 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-05/0.4701, allocations: 188.2 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.4702, allocations: 319.8 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4704, allocations: 190 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/0.4705, allocations: 180.2 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.4706, allocations: 109 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.4707, allocations: 180.3 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.4707, allocations: 104.9 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000133/0.4709, allocations: 159.1 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4709, allocations: 0 / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00025/0.4711, allocations: 20 kB / 1.083 GB, free: 14.29 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.4713, allocations: 170.5 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.4715, allocations: 83.95 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4715, allocations: 0 / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.4715, allocations: 0 / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.472, allocations: 0.5263 MB / 1.083 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.4725, allocations: 321.3 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4729, allocations: 0.7121 MB / 1.084 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.473, allocations: 11.98 kB / 1.084 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.473, allocations: 11.42 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.473, allocations: 0 / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.003683/0.4767, allocations: 0.6993 MB / 1.085 GB, free: 11.7 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)