Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000931/0.0009309, allocations: 179.2 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.000794, allocations: 89.05 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 13.16 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001811/0.1565, allocations: 1.505 MB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1576, allocations: 0.87 MB / 0.8991 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1578, allocations: 0 / 0.8991 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.1582, allocations: 167.3 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1585, allocations: 150.8 kB / 0.8994 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1589, allocations: 179.8 kB / 0.8996 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1591, allocations: 215.5 kB / 0.8998 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1592, allocations: 49.67 kB / 0.8998 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1593, allocations: 79.67 kB / 0.8999 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1595, allocations: 139.5 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1595, allocations: 4 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.1596, allocations: 32 kB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.1597, allocations: 75.75 kB / 0.9001 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.1598, allocations: 103.2 kB / 0.9002 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.16, allocations: 326.8 kB / 0.9005 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.16, allocations: 0 / 0.9005 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.16, allocations: 0 / 0.9005 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.16, allocations: 0 / 0.9005 GB, free: 64.33 MB / 0.6042 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.0006379/0.1607, allocations: 0.5602 MB / 0.9011 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1607, allocations: 8.031 kB / 0.9011 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.1608, allocations: 32.56 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.1612, allocations: 418.3 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1612, allocations: 12.34 kB / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1613, allocations: 8.125 kB / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1614, allocations: 77.61 kB / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1614, allocations: 0 / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1615, allocations: 0 / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1615, allocations: 0 / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1616, allocations: 59.91 kB / 0.9017 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.1621, allocations: 484.4 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1622, allocations: 46.56 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.1622, allocations: 24.91 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1623, allocations: 4 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.1623, allocations: 30.56 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1623, allocations: 0 / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002639/0.1626, allocations: 117.2 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.1626, allocations: 59.34 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.1631, allocations: 0.5485 MB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.1631, allocations: 25.7 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.1632, allocations: 175.9 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1632, allocations: 7.812 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.1632, allocations: 17.72 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.1633, allocations: 342.8 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.1633, allocations: 16 kB / 0.9035 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.1634, allocations: 15.98 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.1634, allocations: 40.78 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1635, allocations: 0 / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001353/0.1636, allocations: 93.3 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1636, allocations: 8 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1636, allocations: 0 / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1636, allocations: 336 / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.1637, allocations: 15.92 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1637, allocations: 0 / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.1638, allocations: 4 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1638, allocations: 0 / 0.9037 GB, free: 60.89 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1639, allocations: 185.8 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.164, allocations: 35.61 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.1642, allocations: 104.2 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1642, allocations: 7.875 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1642, allocations: 0 / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.1643, allocations: 112.7 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1643, allocations: 4 kB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.1644, allocations: 3.984 kB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1644, allocations: 8 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000152/0.1646, allocations: 145 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001764/0.1648, allocations: 266.3 kB / 0.9045 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.205e-05/0.1648, allocations: 23.98 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003276/0.1652, allocations: 415.1 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of Backend: time 5.11e-07/0.1652, allocations: 0 / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.1663, allocations: 444.9 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007663/0.1671, allocations: 1.033 MB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.004775/0.1719, allocations: 2.542 MB / 0.9088 GB, free: 55.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)