Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.54/2.54, allocations: 287.5 MB / 302.5 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.00158, allocations: 177.6 kB / 371 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 90.91 kB / 0.743 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007875/0.0007876, allocations: 11.28 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2239, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9809/1.205, allocations: 141 MB / 1.116 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.205, allocations: 98 kB / 1.116 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0201/1.225, allocations: 5.296 MB / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.225, allocations: 224 / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.328e-05/1.225, allocations: 15.72 kB / 1.121 GB, free: 31.79 MB / 0.698 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.0009487/1.226, allocations: 0.5708 MB / 1.122 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.227, allocations: 15.61 kB / 1.122 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/1.227, allocations: 35.12 kB / 1.122 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/1.227, allocations: 426.7 kB / 1.122 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.227, allocations: 7.594 kB / 1.122 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/1.227, allocations: 3.844 kB / 1.122 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/1.228, allocations: 72.17 kB / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.228, allocations: 0 / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.228, allocations: 6.984 kB / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.228, allocations: 0 / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/1.228, allocations: 56.25 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/1.229, allocations: 0.4992 MB / 1.123 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/1.229, allocations: 47.05 kB / 1.123 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.229, allocations: 13.52 kB / 1.123 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.229, allocations: 30.84 kB / 1.123 GB, free: 30.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/1.229, allocations: 0 / 1.123 GB, free: 30.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003851/1.23, allocations: 101.8 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.23, allocations: 55.41 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/1.23, allocations: 0.5092 MB / 1.124 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.23, allocations: 28.75 kB / 1.124 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.231, allocations: 169.4 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/1.231, allocations: 7.844 kB / 1.124 GB, free: 30.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/1.231, allocations: 1.188 kB / 1.124 GB, free: 30.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.231, allocations: 346 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/1.231, allocations: 16.91 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/1.231, allocations: 17.47 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/1.231, allocations: 17.64 kB / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.231, allocations: 0 / 1.124 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002408/1.231, allocations: 91.12 kB / 1.124 GB, free: 29.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.231, allocations: 6.125 kB / 1.124 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.231, allocations: 7.875 kB / 1.124 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.231, allocations: 3.953 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/1.232, allocations: 6.797 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.232, allocations: 3.688 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/1.232, allocations: 7.219 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/1.232, allocations: 3.938 kB / 1.124 GB, free: 29.93 MB / 0.698 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.0002036/1.232, allocations: 177 kB / 1.125 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/1.232, allocations: 27.22 kB / 1.125 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/1.232, allocations: 113.8 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.232, allocations: 384 / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.232, allocations: 3.953 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.232, allocations: 0 / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/1.233, allocations: 309.3 kB / 1.125 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.233, allocations: 4.094 kB / 1.125 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/1.233, allocations: 7.844 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/1.233, allocations: 3.844 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.233, allocations: 6.766 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.233, allocations: 0 / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.233, allocations: 0 / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/1.233, allocations: 198 kB / 1.125 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/1.233, allocations: 133 kB / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/1.233, allocations: 0 / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/1.234, allocations: 7.844 kB / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/1.234, allocations: 6.609 kB / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/1.234, allocations: 0 / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000627/1.234, allocations: 412.1 kB / 1.126 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.234, allocations: 0 / 1.126 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003553/1.235, allocations: 45.09 kB / 1.126 GB, free: 29.18 MB / 0.698 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.001004/1.236, allocations: 361.5 kB / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002047/1.236, allocations: 33.05 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.236, allocations: 0 / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/1.236, allocations: 22.03 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/1.236, allocations: 46.55 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/1.237, allocations: 0.5765 MB / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/1.238, allocations: 0.7891 MB / 1.128 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001709/1.238, allocations: 52.89 kB / 1.128 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/1.238, allocations: 22.94 kB / 1.128 GB, free: 28 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/1.238, allocations: 0 / 1.128 GB, free: 28 MB / 0.698 GB Notification: Performance of Templates: time 0.008089/1.246, allocations: 2.541 MB / 1.13 GB, free: 27.79 MB / 0.698 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)