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.ChillerSwitch.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.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.448/2.448, allocations: 285 MB / 292.5 MB, free: 10.56 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.001458/0.001458, allocations: 184.2 kB / 360.7 MB, free: 7.258 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 1.985/1.985, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001078/0.001078, allocations: 97.44 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.951e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7961, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/1.04, allocations: 138.5 MB / 1.099 GB, free: 1.895 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/1.041, allocations: 92.92 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006449/1.047, allocations: 1.497 MB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/1.047, allocations: 0.7188 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.047, allocations: 4 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006039/1.048, allocations: 374.4 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.048, allocations: 8.031 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/1.048, allocations: 8.438 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/1.048, allocations: 186.8 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/1.048, allocations: 0.6875 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/1.048, allocations: 7.828 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001393/1.048, allocations: 28.5 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.048, allocations: 74.95 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.048, allocations: 0.875 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.049, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.049, allocations: 5.406 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/1.049, allocations: 300.2 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/1.049, allocations: 44.58 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/1.049, allocations: 16.86 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/1.049, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.049, allocations: 35.19 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.049, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002441/1.05, allocations: 65.64 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/1.05, allocations: 81.14 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.05, allocations: 119.1 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/1.05, allocations: 25.7 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/1.05, allocations: 104 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/1.05, allocations: 7.812 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/1.05, allocations: 4 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.05, allocations: 322.8 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/1.05, allocations: 16 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/1.05, allocations: 22.78 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/1.05, allocations: 19.98 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.051, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/1.051, allocations: 59.62 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.051, allocations: 4 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.051, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.051, allocations: 5.25 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.051, allocations: 19.31 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.051, allocations: 7.938 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.051, allocations: 15.91 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.051, allocations: 3.984 kB / 1.102 GB, free: 14.19 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: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000101/1.051, allocations: 109.5 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/1.051, allocations: 4 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/1.051, allocations: 12.34 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.051, allocations: 2.953 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.051, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.051, allocations: 3.953 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/1.052, allocations: 162.2 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.052, allocations: 0 / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.052, allocations: 18.11 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.052, allocations: 0 / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.052, allocations: 0.5625 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.052, allocations: 6.969 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.052, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.052, allocations: 167.1 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/1.052, allocations: 92.94 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/1.052, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/1.052, allocations: 15.98 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/1.052, allocations: 11.98 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/1.053, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.798e-05/1.053, allocations: 101.1 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.053, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003134/1.053, allocations: 8 kB / 1.103 GB, free: 13.41 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001392/1.053, allocations: 99.25 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001616/1.053, allocations: 32 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.053, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/1.053, allocations: 23.92 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.054, allocations: 11.95 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/1.054, allocations: 98.14 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.054, allocations: 0.6933 MB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.618e-05/1.054, allocations: 3.891 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/1.054, allocations: 19.42 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/1.054, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.003696/1.058, allocations: 0.6656 MB / 1.104 GB, free: 11.77 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)