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.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001604/0.001603, allocations: 193.4 kB / 370.8 MB, free: 10.85 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.293/2.293, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001177/0.001177, allocations: 96.08 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001139, allocations: 15.11 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2525, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001919/0.2545, allocations: 0.9453 MB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.2548, allocations: 41.56 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.2548, allocations: 4 kB / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.2549, allocations: 0 / 0.9791 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.2551, allocations: 7.969 kB / 0.9792 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2552, allocations: 8 kB / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.2553, allocations: 7.984 kB / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.2554, allocations: 3.984 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.2554, allocations: 4 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.2555, allocations: 3.938 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2555, allocations: 7.938 kB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.2556, allocations: 8 kB / 0.9792 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.2557, allocations: 39.89 kB / 0.9792 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.2557, allocations: 45.64 kB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.2559, allocations: 40.12 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2559, allocations: 4 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2559, allocations: 0 / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2559, allocations: 0 / 0.9793 GB, free: 27.23 MB / 0.6198 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.0004731/0.2564, allocations: 418.7 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2565, allocations: 8.031 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.2566, allocations: 87.09 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2568, allocations: 262.1 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.2568, allocations: 154.6 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.2569, allocations: 150.6 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.021e-05/0.257, allocations: 112.9 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.257, allocations: 75.28 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.2571, allocations: 150.6 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.2571, allocations: 150.6 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.2572, allocations: 154.6 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.2576, allocations: 0.4899 MB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.2577, allocations: 173.1 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2577, allocations: 75.28 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.2578, allocations: 109.8 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.053e-06/0.2578, allocations: 0 / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001324/0.2579, allocations: 45.64 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.258, allocations: 126.7 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.2584, allocations: 227 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2584, allocations: 25.7 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.2585, allocations: 112.2 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.2585, allocations: 0 / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.2586, allocations: 0 / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.2587, allocations: 326.8 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2588, allocations: 64.03 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.259, allocations: 60.33 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.2592, allocations: 58.22 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2592, allocations: 3.953 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005186/0.2597, allocations: 175.8 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.2598, allocations: 4 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2598, allocations: 0 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2598, allocations: 0 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-06/0.2598, allocations: 4 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2599, allocations: 0 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.26, allocations: 19.75 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.26, allocations: 12 kB / 0.983 GB, free: 23.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.2602, allocations: 207.2 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.2603, allocations: 116.8 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.2604, allocations: 113.5 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.2604, allocations: 180.2 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-05/0.2605, allocations: 184.3 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-05/0.2605, allocations: 180.3 kB / 0.9839 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.2609, allocations: 441.1 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.2609, allocations: 101 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.261, allocations: 112.9 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.641e-05/0.2611, allocations: 177.3 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.2611, allocations: 180.3 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.252e-05/0.2612, allocations: 184.2 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.216e-05/0.2612, allocations: 184.3 kB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.2614, allocations: 307.6 kB / 0.9855 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.2615, allocations: 197.9 kB / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.2616, allocations: 200.4 kB / 0.9859 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2617, allocations: 101 kB / 0.986 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.2618, allocations: 180.2 kB / 0.9862 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.2618, allocations: 105 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002267/0.2621, allocations: 160.6 kB / 0.9864 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2621, allocations: 4 kB / 0.9864 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005788/0.2627, allocations: 24 kB / 0.9865 GB, free: 19.46 MB / 0.6198 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.0001893/0.2629, allocations: 170.5 kB / 0.9866 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.2632, allocations: 91.77 kB / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2632, allocations: 0 / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.2632, allocations: 0 / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2636, allocations: 0.5264 MB / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.2642, allocations: 305.3 kB / 0.9875 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2645, allocations: 0.719 MB / 0.9882 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.2646, allocations: 7.984 kB / 0.9882 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.2646, allocations: 15.42 kB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2646, allocations: 0 / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.005196/0.2698, allocations: 0.6724 MB / 0.9889 GB, free: 16.9 MB / 0.6198 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)