Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 303.4 MB, free: 8.102 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.001109/0.001109, allocations: 182 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0009828/0.0009826, allocations: 82.39 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004053, allocations: 15.03 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001155/0.2569, allocations: 0.9394 MB / 0.9805 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.2571, allocations: 47.88 kB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.2572, allocations: 0 / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.2572, allocations: 4 kB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.2574, allocations: 3.984 kB / 0.9806 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2575, allocations: 15.91 kB / 0.9806 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.2576, allocations: 19.98 kB / 0.9806 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.2576, allocations: 4 kB / 0.9806 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.2577, allocations: 11.92 kB / 0.9806 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.2577, allocations: 23.98 kB / 0.9806 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2578, allocations: 0 / 0.9806 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.2578, allocations: 4 kB / 0.9806 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.2579, allocations: 51.88 kB / 0.9807 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.2579, allocations: 37.64 kB / 0.9807 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.767e-05/0.258, allocations: 52.11 kB / 0.9808 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.258, allocations: 0 / 0.9808 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.258, allocations: 4 kB / 0.9808 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.258, allocations: 3.938 kB / 0.9808 GB, free: 26.47 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.0003227/0.2584, allocations: 406.8 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2584, allocations: 8.031 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.2585, allocations: 87.09 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2586, allocations: 274 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2586, allocations: 150.6 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.2586, allocations: 158.6 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.601e-05/0.2587, allocations: 104.9 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2587, allocations: 79.28 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2588, allocations: 150.6 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.2588, allocations: 150.6 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/0.2588, allocations: 162.5 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.259, allocations: 497.7 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.2591, allocations: 165.1 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.2591, allocations: 88.12 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.2591, allocations: 75.28 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.2592, allocations: 109.8 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.2592, allocations: 0 / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/0.2593, allocations: 41.55 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2593, allocations: 126.7 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2595, allocations: 223 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2595, allocations: 25.7 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.2596, allocations: 112.2 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.2596, allocations: 4 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.2596, allocations: 0 / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.2596, allocations: 322.8 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.2597, allocations: 60.14 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.2598, allocations: 54.41 kB / 0.9842 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.2598, allocations: 60.7 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2599, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002441/0.2601, allocations: 188.3 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2601, allocations: 8 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2601, allocations: 4.062 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2602, allocations: 0 / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.2602, allocations: 0 / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2602, allocations: 3.938 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.2602, allocations: 19.69 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2602, allocations: 4 kB / 0.9845 GB, free: 22.41 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 7.98e-05/0.2603, allocations: 201.1 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.2604, allocations: 112.8 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.2604, allocations: 129.5 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.2604, allocations: 176.3 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/0.2605, allocations: 184.2 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.2605, allocations: 176.3 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.2606, allocations: 437.2 kB / 0.9859 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.2607, allocations: 108.9 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.2607, allocations: 101 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-05/0.2607, allocations: 189 kB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2608, allocations: 180.2 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.787e-05/0.2608, allocations: 188.2 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.903e-05/0.2608, allocations: 180.2 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.302e-05/0.2609, allocations: 319.6 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.261, allocations: 198.1 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.261, allocations: 180.2 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.2611, allocations: 109 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.2611, allocations: 180.3 kB / 0.9877 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2611, allocations: 116.9 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.315e-05/0.2612, allocations: 152.6 kB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2612, allocations: 0 / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002159/0.2614, allocations: 20 kB / 0.988 GB, free: 18.63 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.0001364/0.2616, allocations: 178.5 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2617, allocations: 75.91 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2617, allocations: 4.062 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.2617, allocations: 4 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.262, allocations: 0.5224 MB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.2623, allocations: 313.2 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2624, allocations: 0.7092 MB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.2625, allocations: 11.98 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.2625, allocations: 11.44 kB / 0.9898 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2625, allocations: 0 / 0.9898 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.002415/0.2649, allocations: 0.683 MB / 0.9904 GB, free: 16.06 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)