Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001177/0.001177, allocations: 185.9 kB / 371.8 MB, free: 10.26 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.787/1.787, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009311/0.0009311, allocations: 98.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 11.38 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2726, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002618/0.2753, allocations: 1.449 MB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2766, allocations: 0.7888 MB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.2767, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.2773, allocations: 152.1 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.2777, allocations: 146.9 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2781, allocations: 149.7 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.2783, allocations: 139.7 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.2785, allocations: 45.83 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2786, allocations: 83.59 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.2789, allocations: 131.6 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.2789, allocations: 4 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.279, allocations: 24 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.2791, allocations: 67.73 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.2792, allocations: 61.58 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.2795, allocations: 287.6 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2795, allocations: 4 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2795, allocations: 3.938 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2795, allocations: 0 / 0.9829 GB, free: 24.16 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000885/0.2804, allocations: 0.5602 MB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2805, allocations: 12.03 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.2806, allocations: 31.58 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.2812, allocations: 393.3 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2812, allocations: 4 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.2812, allocations: 8 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2814, allocations: 85.53 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2814, allocations: 3.938 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.2815, allocations: 4 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2815, allocations: 0 / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2816, allocations: 51.95 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.2823, allocations: 488.5 kB / 0.9844 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2824, allocations: 50.56 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.2825, allocations: 3.953 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2825, allocations: 34.56 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.2825, allocations: 0 / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002882/0.2828, allocations: 109.4 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2829, allocations: 55.41 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.2834, allocations: 0.5523 MB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2834, allocations: 25.7 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2835, allocations: 176 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2835, allocations: 15.75 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.2835, allocations: 0 / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2837, allocations: 346.8 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.2837, allocations: 12 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.2838, allocations: 15.98 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.2838, allocations: 19.98 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2838, allocations: 4 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001368/0.284, allocations: 89.25 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.284, allocations: 7.953 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.284, allocations: 112 / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.284, allocations: 7.922 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.2841, allocations: 8 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2841, allocations: 0 / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.2842, allocations: 12 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2842, allocations: 0 / 0.9859 GB, free: 20.8 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 (3): * Single equations (assignments): 3 * 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.0001261/0.2844, allocations: 178.5 kB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.2844, allocations: 31.62 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.2846, allocations: 112.1 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2846, allocations: 0 / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2846, allocations: 0 / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2847, allocations: 7.984 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.2849, allocations: 281.9 kB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2849, allocations: 0 / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.2849, allocations: 8 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.285, allocations: 0 / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.285, allocations: 3.984 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.285, allocations: 7.953 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.285, allocations: 0 / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.2852, allocations: 195.1 kB / 0.9867 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.2853, allocations: 116.7 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2853, allocations: 8 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.2854, allocations: 0 / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.2854, allocations: 15.88 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2854, allocations: 0 / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003267/0.2858, allocations: 419.1 kB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2858, allocations: 4 kB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002393/0.286, allocations: 20 kB / 0.9873 GB, free: 19.32 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 (3): * Single equations (assignments): 3 * 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.0007774/0.2868, allocations: 359.9 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.287, allocations: 35.98 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.287, allocations: 0 / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/0.287, allocations: 19.98 kB / 0.9877 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2874, allocations: 34.86 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.2881, allocations: 0.555 MB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2883, allocations: 0.795 MB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.737e-05/0.2884, allocations: 50.91 kB / 0.9891 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.2885, allocations: 23.44 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2885, allocations: 0 / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.004923/0.2934, allocations: 2.294 MB / 0.9913 GB, free: 15.25 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)