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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008904, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 252 MB / 0.5102 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007621/0.0007622, allocations: 16 kB / 0.6243 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5584, allocations: 106.3 MB / 0.7281 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002072/0.5605, allocations: 1.453 MB / 0.7296 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.5617, allocations: 0.812 MB / 0.7303 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.5618, allocations: 11.88 kB / 0.7304 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.5623, allocations: 153.7 kB / 0.7305 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.5626, allocations: 146.9 kB / 0.7306 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.563, allocations: 148.8 kB / 0.7308 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.5632, allocations: 199.5 kB / 0.731 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.5634, allocations: 41.83 kB / 0.731 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.5635, allocations: 79.67 kB / 0.7311 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.5637, allocations: 135.5 kB / 0.7312 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.5637, allocations: 8 kB / 0.7312 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.5638, allocations: 24 kB / 0.7313 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.5639, allocations: 75.73 kB / 0.7313 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.564, allocations: 65.52 kB / 0.7314 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.5642, allocations: 285.3 kB / 0.7317 GB, free: 7.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5642, allocations: 4 kB / 0.7317 GB, free: 7.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5643, allocations: 0 / 0.7317 GB, free: 7.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.5643, allocations: 0 / 0.7317 GB, free: 7.84 MB / 0.545 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.0007023/0.565, allocations: 0.5641 MB / 0.7322 GB, free: 7.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.565, allocations: 8.031 kB / 0.7322 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.5651, allocations: 35.58 kB / 0.7323 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.5656, allocations: 405.2 kB / 0.7326 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.5656, allocations: 0 / 0.7326 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.5656, allocations: 12 kB / 0.7327 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.5658, allocations: 69.67 kB / 0.7327 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5658, allocations: 0 / 0.7327 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.5658, allocations: 8 kB / 0.7327 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5659, allocations: 0 / 0.7327 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.566, allocations: 55.86 kB / 0.7328 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.5666, allocations: 484.4 kB / 0.7332 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5667, allocations: 54.52 kB / 0.7333 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.5668, allocations: 28.84 kB / 0.7333 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.5668, allocations: 7.938 kB / 0.7333 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.5668, allocations: 30.56 kB / 0.7334 GB, free: 5.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5668, allocations: 0 / 0.7334 GB, free: 5.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002661/0.5671, allocations: 105.3 kB / 0.7335 GB, free: 5.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.5671, allocations: 51.41 kB / 0.7335 GB, free: 5.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.5677, allocations: 0.5563 MB / 0.7341 GB, free: 5.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5678, allocations: 25.7 kB / 0.7341 GB, free: 5.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5679, allocations: 175.9 kB / 0.7342 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.5679, allocations: 7.906 kB / 0.7343 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5679, allocations: 0 / 0.7343 GB, free: 4.984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5681, allocations: 342.8 kB / 0.7346 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.5681, allocations: 19.92 kB / 0.7346 GB, free: 4.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.5682, allocations: 15.98 kB / 0.7346 GB, free: 4.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.5682, allocations: 19.98 kB / 0.7346 GB, free: 4.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5682, allocations: 0 / 0.7346 GB, free: 4.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001554/0.5684, allocations: 93.27 kB / 0.7347 GB, free: 4.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5684, allocations: 4 kB / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5684, allocations: 0 / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.5684, allocations: 0 / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.5685, allocations: 15.98 kB / 0.7347 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5685, allocations: 0 / 0.7347 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.5686, allocations: 4 kB / 0.7347 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5686, allocations: 0 / 0.7347 GB, free: 4.465 MB / 0.545 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.0001595/0.5688, allocations: 185.8 kB / 0.7349 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.5688, allocations: 31.58 kB / 0.735 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.5691, allocations: 112.2 kB / 0.7351 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5691, allocations: 3.938 kB / 0.7351 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5691, allocations: 0 / 0.7351 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5691, allocations: 0 / 0.7351 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.5693, allocations: 289.4 kB / 0.7353 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5694, allocations: 384 / 0.7353 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.5694, allocations: 8 kB / 0.7353 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5694, allocations: 3.953 kB / 0.7354 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5694, allocations: 3.984 kB / 0.7354 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5694, allocations: 4 kB / 0.7354 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5694, allocations: 0 / 0.7354 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.5696, allocations: 195.1 kB / 0.7355 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.5698, allocations: 116.7 kB / 0.7357 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.5698, allocations: 7.953 kB / 0.7357 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.5699, allocations: 4 kB / 0.7357 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.5699, allocations: 7.984 kB / 0.7357 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5699, allocations: 4 kB / 0.7357 GB, free: 3.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004331/0.5704, allocations: 423 kB / 0.7361 GB, free: 2.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5704, allocations: 0 / 0.7361 GB, free: 2.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002536/0.5706, allocations: 23.91 kB / 0.7361 GB, free: 2.965 MB / 0.545 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.0007338/0.5714, allocations: 350.1 kB / 0.7364 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.5715, allocations: 31.98 kB / 0.7365 GB, free: 2.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5715, allocations: 7.875 kB / 0.7365 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/0.5716, allocations: 19.98 kB / 0.7365 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.572, allocations: 37.55 kB / 0.7365 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.5727, allocations: 0.5548 MB / 0.7371 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5731, allocations: 0.7912 MB / 0.7378 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.927e-05/0.5732, allocations: 42.92 kB / 0.7379 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.5733, allocations: 23.42 kB / 0.7379 GB, free: 1.184 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5733, allocations: 0 / 0.7379 GB, free: 1.184 MB / 0.545 GB Notification: Performance of Templates: time 0.005075/0.5783, allocations: 2.302 MB / 0.7402 GB, free: 14.93 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: