Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 172.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000897/0.0008969, allocations: 92.97 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.964e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7127, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.9106, allocations: 140.4 MB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.911, allocations: 100.6 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.9242, allocations: 5.227 MB / 1.107 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9242, allocations: 0.5938 kB / 1.107 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.713e-05/0.9243, allocations: 4 kB / 1.107 GB, free: 10.14 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.0005374/0.9248, allocations: 0.4969 MB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9249, allocations: 12.03 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.9249, allocations: 32.56 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.9255, allocations: 421.5 kB / 1.108 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9256, allocations: 4 kB / 1.108 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.9256, allocations: 0 / 1.108 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.738e-05/0.9257, allocations: 36.7 kB / 1.108 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.9258, allocations: 60.41 kB / 1.108 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.9258, allocations: 7.984 kB / 1.108 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9259, allocations: 1.062 kB / 1.108 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9259, allocations: 0 / 1.108 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.9265, allocations: 476 kB / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.9266, allocations: 43.19 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.9267, allocations: 17.03 kB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.9267, allocations: 3.938 kB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9267, allocations: 34.5 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.9267, allocations: 0 / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001974/0.9269, allocations: 85.34 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.927, allocations: 55.41 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.9276, allocations: 490.3 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.9276, allocations: 25.7 kB / 1.109 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.9277, allocations: 179.8 kB / 1.109 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.9278, allocations: 7.812 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.9278, allocations: 0 / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9279, allocations: 347 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.9279, allocations: 8 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.928, allocations: 8 kB / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.928, allocations: 8 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.928, allocations: 4 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001139/0.9281, allocations: 81.23 kB / 1.11 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9282, allocations: 8.781 kB / 1.11 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9282, allocations: 0 / 1.11 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.9282, allocations: 0 / 1.11 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.9283, allocations: 8 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.9283, allocations: 0 / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.9284, allocations: 7.953 kB / 1.11 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.9284, allocations: 3.984 kB / 1.11 GB, free: 7.047 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 7.373e-05/0.9285, allocations: 105 kB / 1.11 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.9285, allocations: 31.62 kB / 1.11 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.9287, allocations: 90.83 kB / 1.11 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9287, allocations: 0 / 1.11 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9287, allocations: 3.938 kB / 1.11 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9287, allocations: 0 / 1.11 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.929, allocations: 282 kB / 1.11 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.929, allocations: 0 / 1.11 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.9291, allocations: 7.984 kB / 1.11 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.9291, allocations: 8 kB / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.9291, allocations: 0 / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9291, allocations: 0 / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.9291, allocations: 0 / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.9293, allocations: 183.1 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.9294, allocations: 140.6 kB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.9295, allocations: 0 / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.9296, allocations: 4 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.9296, allocations: 4 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.9296, allocations: 4 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003998/0.93, allocations: 384.5 kB / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.93, allocations: 0 / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002619/0.9303, allocations: 28 kB / 1.111 GB, free: 5.715 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.0007125/0.931, allocations: 325.8 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.9311, allocations: 23.98 kB / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9311, allocations: 0 / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.9312, allocations: 12 kB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.9315, allocations: 41.28 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.9321, allocations: 396.7 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.9325, allocations: 0.7945 MB / 1.112 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.9326, allocations: 53.89 kB / 1.112 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.9327, allocations: 23.42 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.9327, allocations: 0 / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of Templates: time 0.005093/0.9378, allocations: 2.148 MB / 1.114 GB, free: 2.008 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)