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.791/1.791, allocations: 288.4 MB / 303.4 MB, free: 8.242 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.001069/0.001069, allocations: 184.5 kB / 372 MB, free: 10.27 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.786/1.786, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0007576/0.0007576, allocations: 106.3 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 15.95 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2477, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001856/0.2496, allocations: 1.441 MB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2507, allocations: 0.8006 MB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.2508, allocations: 4 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.2513, allocations: 166.5 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.2516, allocations: 138.9 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.252, allocations: 150.8 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2523, allocations: 203.5 kB / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2524, allocations: 45.83 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2525, allocations: 75.67 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2527, allocations: 139.5 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.2528, allocations: 4 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.2528, allocations: 28 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.2529, allocations: 71.73 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.253, allocations: 65.58 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.2532, allocations: 287.5 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2532, allocations: 0 / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2533, allocations: 0 / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.2533, allocations: 0 / 0.9831 GB, free: 24.05 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.0006652/0.2539, allocations: 0.5718 MB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.254, allocations: 8.031 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.2541, allocations: 35.58 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.2545, allocations: 397.3 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2545, allocations: 3.938 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2545, allocations: 8 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2547, allocations: 73.67 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2547, allocations: 4 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2547, allocations: 4 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2547, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.2549, allocations: 47.97 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.2554, allocations: 496.4 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2555, allocations: 42.56 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.2556, allocations: 28.86 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2556, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.2556, allocations: 34.5 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2556, allocations: 4 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003043/0.2559, allocations: 109.3 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.256, allocations: 51.41 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.2565, allocations: 0.5523 MB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2565, allocations: 25.7 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2566, allocations: 176 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.2567, allocations: 15.75 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.2567, allocations: 0 / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.2568, allocations: 342.8 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.2568, allocations: 15.98 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.2569, allocations: 15.98 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.2569, allocations: 19.94 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2569, allocations: 4 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001486/0.2571, allocations: 97.25 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2571, allocations: 4 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2571, allocations: 0 / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2571, allocations: 4 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.2572, allocations: 11.98 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2572, allocations: 0 / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.2573, allocations: 4 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2573, allocations: 4 kB / 0.9862 GB, free: 20.66 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.0001278/0.2575, allocations: 181.8 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.2575, allocations: 31.58 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.2577, allocations: 104.1 kB / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2577, allocations: 0 / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2577, allocations: 0 / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2577, allocations: 8.047 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.2579, allocations: 289.4 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.258, allocations: 0 / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.258, allocations: 8 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.258, allocations: 0 / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.258, allocations: 3.953 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.258, allocations: 4 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.258, allocations: 3.984 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.2582, allocations: 195.5 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.2583, allocations: 120.7 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2583, allocations: 4 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.2584, allocations: 3.953 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.2585, allocations: 7.984 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2585, allocations: 0 / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003361/0.2588, allocations: 419.1 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2588, allocations: 4 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002343/0.2591, allocations: 20 kB / 0.9875 GB, free: 19.18 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.0007819/0.2598, allocations: 360.3 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.26, allocations: 35.98 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.26, allocations: 0 / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.2601, allocations: 23.92 kB / 0.9879 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.2605, allocations: 39.42 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.2612, allocations: 0.5627 MB / 0.9885 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2614, allocations: 0.7872 MB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.433e-05/0.2615, allocations: 42.92 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.2616, allocations: 19.44 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2616, allocations: 0 / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.005076/0.2666, allocations: 2.302 MB / 0.9916 GB, free: 15.11 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)