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.558/2.558, allocations: 285 MB / 292.5 MB, free: 10.49 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.001517/0.001516, allocations: 184.9 kB / 360.7 MB, free: 7.215 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.065/2.065, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 96.28 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.151e-05, allocations: 0 / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8103, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/1.054, allocations: 140.2 MB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.055, allocations: 98.78 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02207/1.077, allocations: 5.232 MB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.382e-06/1.077, allocations: 0 / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.975e-05/1.077, allocations: 4.688 kB / 1.106 GB, free: 10.96 MB / 0.7136 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.0007192/1.078, allocations: 0.4919 MB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.078, allocations: 12.03 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/1.078, allocations: 36.8 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/1.079, allocations: 419.8 kB / 1.107 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/1.079, allocations: 6.969 kB / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/1.079, allocations: 0 / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001627/1.079, allocations: 39.98 kB / 1.107 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/1.079, allocations: 57.67 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.079, allocations: 4 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.079, allocations: 0 / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.079, allocations: 0 / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009841/1.08, allocations: 483.2 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/1.08, allocations: 42.56 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/1.081, allocations: 16.92 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/1.081, allocations: 112 / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.081, allocations: 34.5 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.081, allocations: 3.938 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002759/1.081, allocations: 81.36 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.081, allocations: 51.41 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/1.082, allocations: 494.3 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/1.082, allocations: 25.7 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/1.082, allocations: 172 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/1.082, allocations: 15.8 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/1.082, allocations: 0 / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.082, allocations: 339 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/1.083, allocations: 12 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/1.083, allocations: 8 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/1.083, allocations: 11.98 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.083, allocations: 0 / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000235/1.083, allocations: 81.25 kB / 1.108 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.083, allocations: 8 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/1.083, allocations: 0 / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.083, allocations: 0 / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/1.083, allocations: 11.98 kB / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.083, allocations: 3.953 kB / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.083, allocations: 4 kB / 1.108 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.083, allocations: 1.594 kB / 1.108 GB, free: 7.863 MB / 0.7136 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 () * 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 9.999e-05/1.083, allocations: 108.8 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/1.084, allocations: 31.62 kB / 1.109 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/1.084, allocations: 92.5 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.084, allocations: 0 / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.084, allocations: 0 / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.084, allocations: 3.953 kB / 1.109 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/1.084, allocations: 278 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/1.084, allocations: 3.938 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/1.085, allocations: 11.98 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.085, allocations: 4 kB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.085, allocations: 0.625 kB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.085, allocations: 0 / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.085, allocations: 0 / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/1.085, allocations: 179.1 kB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/1.085, allocations: 142 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/1.085, allocations: 1.625 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.085, allocations: 8 kB / 1.109 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/1.085, allocations: 3.984 kB / 1.109 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/1.085, allocations: 4 kB / 1.109 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007488/1.086, allocations: 388.5 kB / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.086, allocations: 0 / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004248/1.087, allocations: 28 kB / 1.11 GB, free: 6.52 MB / 0.7136 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 () * 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.001031/1.088, allocations: 314.1 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000158/1.088, allocations: 24 kB / 1.11 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.088, allocations: 0 / 1.11 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/1.088, allocations: 8 kB / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/1.088, allocations: 47.2 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.09, allocations: 396.7 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/1.09, allocations: 0.7906 MB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002361/1.09, allocations: 56.22 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.091, allocations: 31.36 kB / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/1.091, allocations: 0 / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of Templates: time 0.009008/1.1, allocations: 2.152 MB / 1.113 GB, free: 2.855 MB / 0.7136 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)