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.584/1.584, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.0009562/0.0009562, allocations: 188.5 kB / 372.9 MB, free: 10.17 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.411/1.411, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0008242/0.0008242, allocations: 106.2 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 11.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 115.3 MB / 0.9808 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001937/0.2238, allocations: 1.441 MB / 0.9822 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2248, allocations: 0.8122 MB / 0.983 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.2249, allocations: 4 kB / 0.983 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.2254, allocations: 160.7 kB / 0.9831 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.2256, allocations: 142.9 kB / 0.9832 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.2259, allocations: 159.8 kB / 0.9834 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.2261, allocations: 199.5 kB / 0.9836 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2263, allocations: 49.94 kB / 0.9836 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2264, allocations: 75.67 kB / 0.9837 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.2266, allocations: 139.5 kB / 0.9838 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.2266, allocations: 8 kB / 0.9838 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.2267, allocations: 24 kB / 0.9839 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.2267, allocations: 67.75 kB / 0.9839 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.2268, allocations: 121 kB / 0.9841 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2271, allocations: 291.3 kB / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2271, allocations: 0 / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2271, allocations: 0 / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2271, allocations: 0 / 0.9843 GB, free: 23.68 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.0005849/0.2277, allocations: 0.5564 MB / 0.9849 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2277, allocations: 8.031 kB / 0.9849 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.2278, allocations: 32.56 kB / 0.9849 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.2282, allocations: 418.2 kB / 0.9853 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2282, allocations: 4.375 kB / 0.9853 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2282, allocations: 8.125 kB / 0.9853 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2284, allocations: 77.66 kB / 0.9854 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2284, allocations: 0 / 0.9854 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2284, allocations: 4 kB / 0.9854 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.2284, allocations: 4 kB / 0.9854 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2286, allocations: 51.91 kB / 0.9855 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.229, allocations: 480.5 kB / 0.9859 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2291, allocations: 50.5 kB / 0.986 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.2292, allocations: 24.91 kB / 0.986 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2292, allocations: 4 kB / 0.986 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.2293, allocations: 34.56 kB / 0.986 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2293, allocations: 0 / 0.986 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002573/0.2295, allocations: 105.4 kB / 0.9861 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.2296, allocations: 55.34 kB / 0.9862 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.23, allocations: 0.564 MB / 0.9867 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.2301, allocations: 25.7 kB / 0.9867 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.2301, allocations: 168 kB / 0.9869 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2302, allocations: 15.83 kB / 0.9869 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-06/0.2302, allocations: 0 / 0.9869 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.2303, allocations: 342.8 kB / 0.9873 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.2303, allocations: 19.92 kB / 0.9873 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.2304, allocations: 15.98 kB / 0.9873 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.2304, allocations: 40.83 kB / 0.9873 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2304, allocations: 0 / 0.9873 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001306/0.2306, allocations: 93.31 kB / 0.9874 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2306, allocations: 4 kB / 0.9874 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2306, allocations: 3.938 kB / 0.9874 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2306, allocations: 7.984 kB / 0.9874 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.2307, allocations: 11.94 kB / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2307, allocations: 0 / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.2308, allocations: 4 kB / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2308, allocations: 0 / 0.9874 GB, free: 20.27 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.0001103/0.2309, allocations: 185.8 kB / 0.9876 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.231, allocations: 27.62 kB / 0.9876 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.2311, allocations: 104.2 kB / 0.9877 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2312, allocations: 3.938 kB / 0.9877 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2312, allocations: 0 / 0.9877 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.2312, allocations: 124.7 kB / 0.9879 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.2313, allocations: 0 / 0.9879 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.2314, allocations: 4.109 kB / 0.9879 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2314, allocations: 7.875 kB / 0.9879 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000138/0.2316, allocations: 148.9 kB / 0.988 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001557/0.2317, allocations: 266.4 kB / 0.9883 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.326e-05/0.2318, allocations: 27.92 kB / 0.9883 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003528/0.2321, allocations: 419.1 kB / 0.9887 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of Backend: time 3.81e-07/0.2322, allocations: 0 / 0.9887 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.2333, allocations: 439.3 kB / 0.9891 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008152/0.2341, allocations: 1.012 MB / 0.9901 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.005057/0.2392, allocations: 2.499 MB / 0.9925 GB, free: 15.1 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)