Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.666/1.666, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.0009876/0.0009876, allocations: 188.5 kB / 371.8 MB, free: 10.83 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.403/1.403, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008148/0.0008149, allocations: 89.11 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 10.31 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1724, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001866/0.1744, allocations: 1.446 MB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1755, allocations: 0.8056 MB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1756, allocations: 4 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.1762, allocations: 171 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.1766, allocations: 136.1 kB / 0.9818 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1769, allocations: 150.9 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1772, allocations: 207.4 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1774, allocations: 53.92 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1775, allocations: 79.67 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1777, allocations: 131.6 kB / 0.9824 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.1778, allocations: 7.938 kB / 0.9824 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.1779, allocations: 31.98 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.178, allocations: 67.8 kB / 0.9825 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.178, allocations: 65.52 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.1783, allocations: 283.3 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1783, allocations: 4 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.195e-06/0.1783, allocations: 0 / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.1783, allocations: 4 kB / 0.9828 GB, free: 24.58 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.000672/0.179, allocations: 0.5602 MB / 0.9834 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1791, allocations: 8.031 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.1791, allocations: 28.56 kB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.1796, allocations: 418.2 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1797, allocations: 4.375 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1797, allocations: 12.12 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1799, allocations: 73.67 kB / 0.9839 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1799, allocations: 0 / 0.9839 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1799, allocations: 4 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1799, allocations: 4 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.18, allocations: 47.91 kB / 0.9839 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.1805, allocations: 488.4 kB / 0.9844 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1806, allocations: 50.56 kB / 0.9845 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.1807, allocations: 16.91 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1807, allocations: 11.98 kB / 0.9845 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.1808, allocations: 34.56 kB / 0.9845 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.1808, allocations: 0 / 0.9845 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002736/0.181, allocations: 113.3 kB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.1811, allocations: 51.41 kB / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1816, allocations: 0.5562 MB / 0.9852 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1816, allocations: 25.7 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.1817, allocations: 172 kB / 0.9854 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.1817, allocations: 15.84 kB / 0.9854 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.1817, allocations: 0 / 0.9854 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.1818, allocations: 338.8 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.1818, allocations: 19.98 kB / 0.9858 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.1819, allocations: 15.97 kB / 0.9858 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.182, allocations: 40.84 kB / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.182, allocations: 0 / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001336/0.1821, allocations: 97.23 kB / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1821, allocations: 4 kB / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1821, allocations: 0 / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1822, allocations: 0 / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1822, allocations: 15.92 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1823, allocations: 7.938 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.1823, allocations: 8 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1823, allocations: 0 / 0.9859 GB, free: 21.17 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.0001203/0.1825, allocations: 181.8 kB / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.1825, allocations: 27.62 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.1827, allocations: 108.1 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1827, allocations: 7.938 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1827, allocations: 0 / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1828, allocations: 120.7 kB / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1828, allocations: 0 / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.1829, allocations: 3.984 kB / 0.9864 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.183, allocations: 4 kB / 0.9864 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001361/0.1831, allocations: 145.1 kB / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001507/0.1833, allocations: 274.2 kB / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.899e-05/0.1833, allocations: 19.98 kB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003361/0.1837, allocations: 415.1 kB / 0.9872 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of Backend: time 3e-07/0.1837, allocations: 0 / 0.9872 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.1847, allocations: 448 kB / 0.9876 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007711/0.1855, allocations: 1.008 MB / 0.9886 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.005095/0.1906, allocations: 2.476 MB / 0.991 GB, free: 16.05 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)