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.ChillerSetPointControl.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.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001221/0.001222, allocations: 184.9 kB / 361.4 MB, free: 6.82 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.649/1.649, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008722/0.0008722, allocations: 92.73 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.969e-05, allocations: 4 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.724, allocations: 115.3 MB / 0.9644 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.246/5.971, allocations: 2.393 GB / 3.357 GB, free: 130.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/5.971, allocations: 107.9 kB / 3.358 GB, free: 130.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.404/12.38, allocations: 1.692 GB / 5.049 GB, free: 87.28 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.793e-06/12.38, allocations: 0 / 5.049 GB, free: 87.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005495/12.38, allocations: 102.8 kB / 5.049 GB, free: 87.27 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01451/12.39, allocations: 3.761 MB / 5.053 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/12.39, allocations: 9.125 kB / 5.053 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/12.4, allocations: 1.329 MB / 5.054 GB, free: 85.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/12.42, allocations: 4.138 MB / 5.059 GB, free: 84.98 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006472/12.42, allocations: 238.7 kB / 5.059 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/12.42, allocations: 151.7 kB / 5.059 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004447/12.42, allocations: 2.206 MB / 5.061 GB, free: 84.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004379/12.43, allocations: 2.357 MB / 5.063 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/12.43, allocations: 5.5 kB / 5.063 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/12.43, allocations: 2.562 kB / 5.063 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.563e-05/12.43, allocations: 92.11 kB / 5.063 GB, free: 84.49 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/12.45, allocations: 12.43 MB / 5.076 GB, free: 78.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/12.45, allocations: 1.952 MB / 5.077 GB, free: 78.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/12.46, allocations: 0.8138 MB / 5.078 GB, free: 78.55 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01078/12.47, allocations: 5.298 MB / 5.083 GB, free: 76.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/12.47, allocations: 0.9075 MB / 5.084 GB, free: 76.16 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00175/12.47, allocations: 195.2 kB / 5.085 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=145): time 4.558e-06/12.47, allocations: 2.438 kB / 5.085 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=145): time 0.004151/12.47, allocations: 1.73 MB / 5.086 GB, free: 75.87 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/12.47, allocations: 228.2 kB / 5.086 GB, free: 75.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/12.48, allocations: 2.415 MB / 5.089 GB, free: 75.37 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/12.48, allocations: 31.92 kB / 5.089 GB, free: 75.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/12.48, allocations: 1.606 MB / 5.09 GB, free: 74.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/12.48, allocations: 489.9 kB / 5.091 GB, free: 74.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/12.48, allocations: 0.6562 kB / 5.091 GB, free: 74.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/12.48, allocations: 378.1 kB / 5.091 GB, free: 74.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/12.48, allocations: 0.6859 MB / 5.092 GB, free: 74.19 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/12.48, allocations: 1.335 MB / 5.093 GB, free: 73.45 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/12.48, allocations: 0.9732 MB / 5.094 GB, free: 73.42 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/12.48, allocations: 2.812 kB / 5.094 GB, free: 73.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004936/12.49, allocations: 2.285 MB / 5.096 GB, free: 73.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001194/12.49, allocations: 5.931 MB / 5.102 GB, free: 66.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/12.49, allocations: 21.89 kB / 5.102 GB, free: 66.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/12.49, allocations: 25.22 kB / 5.102 GB, free: 66.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/12.49, allocations: 0.5404 MB / 5.103 GB, free: 66.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/12.49, allocations: 34.69 kB / 5.103 GB, free: 66.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/12.5, allocations: 309.5 kB / 5.103 GB, free: 66.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/12.5, allocations: 109.6 kB / 5.103 GB, free: 66.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/12.5, allocations: 3.094 kB / 5.103 GB, free: 66.91 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004118/12.5, allocations: 1.893 MB / 5.105 GB, free: 66.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/12.5, allocations: 16.31 kB / 5.105 GB, free: 66.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/12.5, allocations: 23.44 kB / 5.105 GB, free: 66.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/12.5, allocations: 0.5287 MB / 5.106 GB, free: 66.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.007e-05/12.5, allocations: 34.14 kB / 5.106 GB, free: 66.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/12.51, allocations: 268 kB / 5.106 GB, free: 66.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/12.51, allocations: 113 kB / 5.106 GB, free: 66.86 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0006709/12.51, allocations: 162.7 kB / 5.106 GB, free: 66.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007556/12.51, allocations: 315.9 kB / 5.106 GB, free: 66.58 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/12.51, allocations: 1.967 MB / 5.108 GB, free: 66.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/12.51, allocations: 15.88 kB / 5.108 GB, free: 66.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/12.51, allocations: 7.547 kB / 5.108 GB, free: 66.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/12.52, allocations: 1.747 MB / 5.11 GB, free: 65.99 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009729/12.53, allocations: 4.862 MB / 5.115 GB, free: 65.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/12.53, allocations: 3.594 kB / 5.115 GB, free: 65.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/12.53, allocations: 388.5 kB / 5.115 GB, free: 65.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/12.53, allocations: 11.64 kB / 5.115 GB, free: 65.33 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/12.53, allocations: 29.83 kB / 5.115 GB, free: 65.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/12.53, allocations: 12.94 kB / 5.115 GB, free: 65.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/12.53, allocations: 5.656 kB / 5.115 GB, free: 65.33 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/12.53, allocations: 3.259 MB / 5.118 GB, free: 64.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/12.54, allocations: 0.6585 MB / 5.119 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005374/12.54, allocations: 5.5 kB / 5.119 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/12.54, allocations: 245.5 kB / 5.119 GB, free: 64.22 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/12.54, allocations: 105.6 kB / 5.119 GB, free: 64.22 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/12.54, allocations: 84.17 kB / 5.12 GB, free: 64.22 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002642/12.54, allocations: 1.795 MB / 5.121 GB, free: 64.08 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.1e-07/12.54, allocations: 0 / 5.121 GB, free: 64.08 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007412/12.55, allocations: 1.927 MB / 5.123 GB, free: 63.78 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * 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.005789/12.56, allocations: 3.897 MB / 5.127 GB, free: 62.43 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004629/12.56, allocations: 2.815 MB / 5.13 GB, free: 62.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/12.56, allocations: 2.078 kB / 5.13 GB, free: 62.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/12.56, allocations: 0.7823 MB / 5.13 GB, free: 62.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006704/12.57, allocations: 1.225 MB / 5.132 GB, free: 62.29 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/12.58, allocations: 5.134 MB / 5.137 GB, free: 60.98 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/12.58, allocations: 2.104 MB / 5.139 GB, free: 60.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005877/12.59, allocations: 1.167 MB / 5.14 GB, free: 60.02 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/12.59, allocations: 204.2 kB / 5.14 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of SimCode: time 2.475e-06/12.59, allocations: 4 kB / 5.14 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of Templates: time 0.1081/12.7, allocations: 70.66 MB / 5.209 GB, free: 54.55 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)