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.767/1.767, allocations: 288.3 MB / 303.2 MB, free: 8.109 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.0012/0.0012, allocations: 173.8 kB / 371.8 MB, free: 10.28 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.848/1.848, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001006/0.001006, allocations: 95.55 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004309, allocations: 15.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001044/0.2238, allocations: 0.9338 MB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.224, allocations: 45.56 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.224, allocations: 4 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.2241, allocations: 0 / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.2242, allocations: 3.984 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2243, allocations: 7.984 kB / 0.9804 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.277e-05/0.2244, allocations: 15.92 kB / 0.9804 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.2245, allocations: 0 / 0.9804 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.2245, allocations: 7.938 kB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.2245, allocations: 7.984 kB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.2245, allocations: 0 / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.982e-05/0.2246, allocations: 4 kB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.2247, allocations: 43.89 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.2247, allocations: 45.64 kB / 0.9805 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.634e-05/0.2248, allocations: 40.12 kB / 0.9805 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2248, allocations: 4 kB / 0.9805 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2248, allocations: 0 / 0.9805 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2248, allocations: 0 / 0.9805 GB, free: 26.52 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.0003174/0.2251, allocations: 406.8 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2252, allocations: 8.031 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.2252, allocations: 91.09 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2254, allocations: 266.1 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.2254, allocations: 154.6 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.2255, allocations: 154.5 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.787e-05/0.2255, allocations: 109 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2255, allocations: 75.28 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.2256, allocations: 150.6 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.2256, allocations: 150.6 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.2256, allocations: 150.6 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.2259, allocations: 0.4977 MB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.226, allocations: 173.1 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.226, allocations: 75.28 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.226, allocations: 109.8 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.226, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.585e-05/0.2261, allocations: 41.66 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.2262, allocations: 130.6 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.2264, allocations: 223 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2264, allocations: 25.7 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.2265, allocations: 120.1 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.2265, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.2265, allocations: 3.938 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.2265, allocations: 326.8 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.2266, allocations: 60.14 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.2267, allocations: 60.33 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.2268, allocations: 57.47 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2268, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000243/0.227, allocations: 177.5 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.227, allocations: 4 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.227, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2271, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-06/0.2271, allocations: 4 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2271, allocations: 3.984 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.2271, allocations: 23.73 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2272, allocations: 11.94 kB / 0.9842 GB, free: 22.52 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.434e-05/0.2272, allocations: 197.1 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.2273, allocations: 116.8 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2273, allocations: 113.5 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.2273, allocations: 180.2 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/0.2274, allocations: 184.2 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.2274, allocations: 184.2 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2276, allocations: 433.2 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.2276, allocations: 101 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.2276, allocations: 112.9 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-05/0.2276, allocations: 185.2 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2277, allocations: 180.2 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-05/0.2277, allocations: 176.3 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-05/0.2277, allocations: 180.3 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.2278, allocations: 319.6 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2278, allocations: 197.8 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.2279, allocations: 184.5 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.2279, allocations: 109 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.228, allocations: 180.2 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.228, allocations: 105 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.574e-05/0.2281, allocations: 160.6 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2281, allocations: 3.938 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002634/0.2284, allocations: 24 kB / 0.9877 GB, free: 18.76 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.0001341/0.2285, allocations: 174.5 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.2286, allocations: 87.83 kB / 0.9879 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2286, allocations: 0 / 0.9879 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.2286, allocations: 0 / 0.9879 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.2288, allocations: 0.5303 MB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.2291, allocations: 311.6 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2293, allocations: 0.7121 MB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.2293, allocations: 4 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.2293, allocations: 11.44 kB / 0.9895 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2294, allocations: 0 / 0.9895 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.002456/0.2318, allocations: 0.6927 MB / 0.9901 GB, free: 16.18 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)