Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 249.3 MB / 261.8 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 168.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008289/0.000829, allocations: 98.45 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.906e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2558, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.543/7.798, allocations: 2.511 GB / 3.403 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/7.799, allocations: 102.8 kB / 3.403 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.327/15.13, allocations: 1.657 GB / 5.06 GB, free: 78.36 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.074e-06/15.13, allocations: 2.031 kB / 5.06 GB, free: 78.36 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008611/15.13, allocations: 104.7 kB / 5.06 GB, free: 78.34 MB / 0.9323 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.01491/15.14, allocations: 3.747 MB / 5.063 GB, free: 76.73 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/15.14, allocations: 11.31 kB / 5.063 GB, free: 76.73 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/15.14, allocations: 314 kB / 5.064 GB, free: 76.68 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/15.15, allocations: 1.335 MB / 5.065 GB, free: 76.46 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/15.17, allocations: 4.134 MB / 5.069 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006816/15.17, allocations: 326.7 kB / 5.069 GB, free: 75.72 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009889/15.17, allocations: 248.2 kB / 5.069 GB, free: 75.72 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/15.17, allocations: 2.766 MB / 5.072 GB, free: 75.31 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/15.17, allocations: 3.125 kB / 5.072 GB, free: 75.31 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/15.17, allocations: 96.25 kB / 5.072 GB, free: 75.31 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.94e-05/15.17, allocations: 87.95 kB / 5.072 GB, free: 75.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004323/15.18, allocations: 2.348 MB / 5.075 GB, free: 75.27 MB / 0.9323 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.02771/15.21, allocations: 12.83 MB / 5.087 GB, free: 69.68 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/15.21, allocations: 2.2 MB / 5.089 GB, free: 69.13 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/15.21, allocations: 0.8516 MB / 5.09 GB, free: 69.11 MB / 0.9323 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.0107/15.22, allocations: 5.54 MB / 5.096 GB, free: 66.65 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/15.22, allocations: 0.9426 MB / 5.096 GB, free: 66.57 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002141/15.23, allocations: 260 kB / 5.097 GB, free: 66.48 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 6.492e-06/15.23, allocations: 0.5625 kB / 5.097 GB, free: 66.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.004288/15.23, allocations: 1.697 MB / 5.098 GB, free: 66.24 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/15.23, allocations: 229.8 kB / 5.099 GB, free: 65.99 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006044/15.24, allocations: 2.838 MB / 5.101 GB, free: 65.73 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006169/15.24, allocations: 61.83 kB / 5.101 GB, free: 65.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/15.24, allocations: 1.62 MB / 5.103 GB, free: 65.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007503/15.24, allocations: 497.8 kB / 5.103 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/15.24, allocations: 35.47 kB / 5.104 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002215/15.24, allocations: 378.4 kB / 5.104 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/15.24, allocations: 0.7056 MB / 5.105 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/15.24, allocations: 1.369 MB / 5.106 GB, free: 63.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/15.25, allocations: 0.8396 MB / 5.107 GB, free: 63.88 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/15.25, allocations: 2.219 kB / 5.107 GB, free: 63.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004872/15.25, allocations: 2.301 MB / 5.109 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00139/15.25, allocations: 5.831 MB / 5.115 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/15.25, allocations: 18.84 kB / 5.115 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-05/15.25, allocations: 28.09 kB / 5.115 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/15.25, allocations: 0.533 MB / 5.115 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.303e-05/15.25, allocations: 35.25 kB / 5.115 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/15.26, allocations: 367.3 kB / 5.116 GB, free: 57.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/15.26, allocations: 115.6 kB / 5.116 GB, free: 57.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/15.26, allocations: 4.438 kB / 5.116 GB, free: 57.55 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003818/15.26, allocations: 1.94 MB / 5.118 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/15.26, allocations: 19.05 kB / 5.118 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/15.26, allocations: 24.31 kB / 5.118 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/15.27, allocations: 0.5216 MB / 5.118 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-05/15.27, allocations: 31.58 kB / 5.118 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/15.27, allocations: 324.2 kB / 5.119 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/15.27, allocations: 105.9 kB / 5.119 GB, free: 57.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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.0006542/15.27, allocations: 234 kB / 5.119 GB, free: 57.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009669/15.27, allocations: 339.9 kB / 5.119 GB, free: 57.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/15.28, allocations: 2.043 MB / 5.121 GB, free: 57.08 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/15.28, allocations: 17.22 kB / 5.121 GB, free: 57.08 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/15.28, allocations: 0 / 5.121 GB, free: 57.08 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/15.28, allocations: 1.757 MB / 5.123 GB, free: 56.61 MB / 0.9323 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.01031/15.29, allocations: 5.187 MB / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/15.29, allocations: 0 / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/15.29, allocations: 387.6 kB / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/15.29, allocations: 7.531 kB / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/15.29, allocations: 52.12 kB / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/15.29, allocations: 14.53 kB / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/15.29, allocations: 5.094 kB / 5.128 GB, free: 55.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/15.3, allocations: 3.375 MB / 5.132 GB, free: 55.01 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/15.3, allocations: 0.6881 MB / 5.132 GB, free: 54.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009851/15.3, allocations: 35.98 kB / 5.132 GB, free: 54.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/15.3, allocations: 274.9 kB / 5.133 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/15.3, allocations: 98.66 kB / 5.133 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/15.3, allocations: 77.91 kB / 5.133 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.004063/15.31, allocations: 2.177 MB / 5.135 GB, free: 54.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.1e-07/15.31, allocations: 0 / 5.135 GB, free: 54.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009042/15.32, allocations: 2.035 MB / 5.137 GB, free: 54.29 MB / 0.9323 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.01141/15.33, allocations: 8.184 MB / 5.145 GB, free: 50.82 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005574/15.33, allocations: 2.974 MB / 5.148 GB, free: 50.59 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/15.33, allocations: 0 / 5.148 GB, free: 50.59 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/15.34, allocations: 0.812 MB / 5.149 GB, free: 50.56 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00922/15.34, allocations: 1.502 MB / 5.15 GB, free: 50.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/15.36, allocations: 6.085 MB / 5.156 GB, free: 48.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/15.37, allocations: 2.111 MB / 5.158 GB, free: 47.95 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006484/15.37, allocations: 1.244 MB / 5.159 GB, free: 47.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/15.37, allocations: 1.407 MB / 5.161 GB, free: 47.47 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/15.37, allocations: 0 / 5.161 GB, free: 47.47 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/16.38, allocations: 137.8 MB / 5.295 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/16.38, allocations: 238.9 kB / 5.296 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/24.34, allocations: 1.188 kB / 5.296 GB, free: 104.5 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)