Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.914/4.914, allocations: 0.5623 GB / 0.5776 GB, free: 3.402 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002572/0.002572, allocations: 363.4 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.279/4.279, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001842/0.001842, allocations: 181 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005239, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7504, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002273/0.7527, allocations: 1.452 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.7542, allocations: 0.772 MB / 1.464 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.7543, allocations: 11.88 kB / 1.464 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.7549, allocations: 152.7 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.7552, allocations: 136.4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.7558, allocations: 150.4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.7561, allocations: 203.5 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.7562, allocations: 43.02 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.7564, allocations: 75.67 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.7566, allocations: 140.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.7566, allocations: 4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.7567, allocations: 31.94 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.7568, allocations: 65.53 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.7569, allocations: 61.58 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.7572, allocations: 293.4 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7572, allocations: 4 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7572, allocations: 0.5 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7573, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 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.0008196/0.7581, allocations: 0.5582 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7581, allocations: 13.11 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.7582, allocations: 35.48 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.7589, allocations: 402 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.7589, allocations: 4.75 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.7589, allocations: 8 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.7592, allocations: 79.73 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7592, allocations: 2.125 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7592, allocations: 4 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7592, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.7594, allocations: 53.2 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.7601, allocations: 483.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.7603, allocations: 51.58 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.7604, allocations: 21.66 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.7604, allocations: 1.312 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.7604, allocations: 38.5 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.7604, allocations: 1.875 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0003619/0.7608, allocations: 106.7 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.7608, allocations: 52.75 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.7616, allocations: 0.5484 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.7616, allocations: 25.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.7618, allocations: 177 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.7618, allocations: 7.891 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.7618, allocations: 4.625 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.7619, allocations: 340.6 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.762, allocations: 15.98 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.7621, allocations: 19.94 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.7622, allocations: 17.61 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7622, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002275/0.7624, allocations: 98.38 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7625, allocations: 4 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7625, allocations: 3.938 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.7625, allocations: 0 / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.7626, allocations: 11.98 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7626, allocations: 112 / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.7627, allocations: 17.38 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.7628, allocations: 0 / 1.468 GB, free: 277.5 MB / 0.8542 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.0001638/0.7629, allocations: 185.9 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.763, allocations: 31.58 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.7633, allocations: 109.9 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7633, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7633, allocations: 0.6562 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.7635, allocations: 124.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.7635, allocations: 3.344 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.7637, allocations: 7.984 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.7637, allocations: 4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002296/0.764, allocations: 141 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002609/0.7642, allocations: 269.3 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.227e-05/0.7643, allocations: 20.73 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005583/0.7649, allocations: 421 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of Backend: time 5.91e-07/0.7649, allocations: 0 / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.7664, allocations: 440.1 kB / 1.47 GB, free: 276 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001161/0.7676, allocations: 1.009 MB / 1.471 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.007755/0.7754, allocations: 2.483 MB / 1.473 GB, free: 272.6 MB / 0.8542 GB