Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.2/2.2, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 180.8 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.369/2.369, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009778/0.0009777, allocations: 99.88 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004772, allocations: 13.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2318, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2293/0.4612, allocations: 131.1 MB / 1.027 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.4616, allocations: 83.94 kB / 1.028 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00452/0.4662, allocations: 1.13 MB / 1.029 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4662, allocations: 0 / 1.029 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.4662, allocations: 4 kB / 1.029 GB, free: 13.03 MB / 0.6823 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.0005181/0.4668, allocations: 409.1 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4668, allocations: 12.03 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/0.4669, allocations: 85.41 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.4671, allocations: 263.5 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/0.4672, allocations: 154.9 kB / 1.03 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.4673, allocations: 162.9 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.241e-05/0.4674, allocations: 101.5 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.4674, allocations: 79.22 kB / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.4675, allocations: 150.6 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.4676, allocations: 162.6 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.4677, allocations: 154.6 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.4681, allocations: 0.5016 MB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.4682, allocations: 169.1 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.4683, allocations: 88.14 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4683, allocations: 75.28 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.4684, allocations: 111.3 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.4684, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.000113/0.4685, allocations: 41.45 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.4686, allocations: 134.6 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.4689, allocations: 235 kB / 1.032 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.469, allocations: 25.7 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.4691, allocations: 112.1 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.4691, allocations: 0 / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.4691, allocations: 4 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4692, allocations: 326.8 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.4694, allocations: 43.95 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4697, allocations: 175.6 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4699, allocations: 71.89 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.4699, allocations: 0 / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006702/0.4706, allocations: 244.9 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4707, allocations: 5.562 kB / 1.033 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.4707, allocations: 11.94 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.4707, allocations: 4 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.471, allocations: 47.91 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4711, allocations: 8.594 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.4712, allocations: 23.75 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.4713, allocations: 16 kB / 1.033 GB, free: 8.609 MB / 0.6823 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.0001943/0.4715, allocations: 220.9 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.4716, allocations: 120.7 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.4717, allocations: 117.5 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/0.4717, allocations: 176.3 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.714e-05/0.4718, allocations: 184.2 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.67e-05/0.4719, allocations: 176.3 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.4722, allocations: 445.1 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/0.4723, allocations: 101 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.4723, allocations: 105 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.165e-05/0.4724, allocations: 184.2 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/0.4725, allocations: 180.3 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.341e-05/0.4726, allocations: 184.2 kB / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.072e-05/0.4727, allocations: 184.2 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.4728, allocations: 311.6 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.473, allocations: 197.9 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.4731, allocations: 184.2 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4732, allocations: 104.9 kB / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.4733, allocations: 184.2 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.4733, allocations: 101 kB / 1.036 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002157/0.4736, allocations: 160.6 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4736, allocations: 4 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004228/0.474, allocations: 24 kB / 1.036 GB, free: 4.82 MB / 0.6823 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.0002016/0.4742, allocations: 174.5 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.4745, allocations: 92.89 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4746, allocations: 4.125 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.4746, allocations: 3.984 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.4751, allocations: 0.5263 MB / 1.037 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.4757, allocations: 313.3 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.476, allocations: 0.7082 MB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.4761, allocations: 23.83 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.4762, allocations: 15.44 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of SimCode: time 1.133e-06/0.4762, allocations: 0 / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of Templates: time 0.004579/0.4808, allocations: 0.8236 MB / 1.039 GB, free: 2.078 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)