Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001749, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 187.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.699/2.699, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.593/4.593, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 66.62 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5812, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.312/1.893, allocations: 234.2 MB / 1.281 GB, free: 52.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1074/2.001, allocations: 42.97 MB / 1.323 GB, free: 51.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02509/2.026, allocations: 219.9 kB / 1.323 GB, free: 51.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01468/2.041, allocations: 2.791 MB / 1.326 GB, free: 51.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03723/2.078, allocations: 7.257 MB / 1.333 GB, free: 50.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02473/2.103, allocations: 5.332 MB / 1.338 GB, free: 48.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.07938/2.182, allocations: 26.81 MB / 1.365 GB, free: 36.19 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03151/2.214, allocations: 11.39 MB / 1.376 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03801/2.252, allocations: 9.641 MB / 1.385 GB, free: 22.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02057/2.273, allocations: 7.086 MB / 1.392 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005621/2.278, allocations: 1.055 MB / 1.393 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02158/2.3, allocations: 3.498 MB / 1.396 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007817/2.308, allocations: 2.63 MB / 1.399 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01816/2.326, allocations: 5.541 MB / 1.404 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.04556/2.372, allocations: 18.24 MB / 1.422 GB, free: 2.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/2.372, allocations: 0 / 1.422 GB, free: 2.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.951e-06/2.372, allocations: 0 / 1.422 GB, free: 2.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006142/2.373, allocations: 3.938 kB / 1.422 GB, free: 2.074 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.05156/2.424, allocations: 10.35 MB / 1.432 GB, free: 7.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 8.816e-05/2.424, allocations: 12.62 kB / 1.432 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005123/2.429, allocations: 0.6698 MB / 1.433 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/2.445, allocations: 1.355 MB / 1.434 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03966/2.484, allocations: 11.12 MB / 1.445 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/2.486, allocations: 470.1 kB / 1.446 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003329/2.489, allocations: 0.5293 MB / 1.446 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/2.522, allocations: 7.277 MB / 1.453 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/2.522, allocations: 15.92 kB / 1.453 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/2.524, allocations: 206.7 kB / 1.453 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000345/2.525, allocations: 201.3 kB / 1.454 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02442/2.549, allocations: 6.26 MB / 1.46 GB, free: 11.57 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08241/2.632, allocations: 34.35 MB / 1.493 GB, free: 7.227 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007474/2.639, allocations: 2.399 MB / 1.496 GB, free: 4.824 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005172/2.644, allocations: 1.782 MB / 1.497 GB, free: 3.047 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/2.647, allocations: 2.032 MB / 1.499 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007227/2.654, allocations: 1.803 MB / 1.501 GB, free: 14.77 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 9.488e-06/2.655, allocations: 0 / 1.501 GB, free: 14.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.0223/2.677, allocations: 4.876 MB / 1.506 GB, free: 9.883 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/2.677, allocations: 77.41 kB / 1.506 GB, free: 9.797 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03449/2.712, allocations: 8.938 MB / 1.515 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001381/2.713, allocations: 89.7 kB / 1.515 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.01021/2.723, allocations: 3.815 MB / 1.519 GB, free: 13.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002518/2.726, allocations: 0.7769 MB / 1.519 GB, free: 12.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004593/2.73, allocations: 0.7961 MB / 1.52 GB, free: 11.45 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001441/2.731, allocations: 305.1 kB / 1.52 GB, free: 11.15 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006744/2.737, allocations: 1.65 MB / 1.522 GB, free: 9.496 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/2.748, allocations: 3.28 MB / 1.525 GB, free: 5.586 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/2.762, allocations: 4.338 MB / 1.529 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-05/2.763, allocations: 8 kB / 1.529 GB, free: 0.7812 MB / 1.123 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.02369/2.786, allocations: 5.094 MB / 1.534 GB, free: 11.63 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/2.786, allocations: 22.19 kB / 1.534 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-05/2.786, allocations: 35.98 kB / 1.534 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/2.787, allocations: 52.06 kB / 1.534 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006539/2.793, allocations: 0.8385 MB / 1.535 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001548/2.793, allocations: 71.72 kB / 1.535 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/2.809, allocations: 0.8669 MB / 1.536 GB, free: 9.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/2.81, allocations: 164 kB / 1.536 GB, free: 9.582 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01208/2.822, allocations: 3.063 MB / 1.539 GB, free: 6.508 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004933/2.827, allocations: 0.7292 MB / 1.54 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/2.848, allocations: 4.096 MB / 1.544 GB, free: 1.672 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/2.848, allocations: 24 kB / 1.544 GB, free: 1.648 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/2.848, allocations: 3.938 kB / 1.544 GB, free: 1.645 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01382/2.862, allocations: 3.188 MB / 1.547 GB, free: 14.41 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0431/2.905, allocations: 10.87 MB / 1.558 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/2.905, allocations: 3.938 kB / 1.558 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004576/2.91, allocations: 0.5267 MB / 1.558 GB, free: 2.926 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.444e-05/2.91, allocations: 8 kB / 1.558 GB, free: 2.918 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007366/2.911, allocations: 87.94 kB / 1.558 GB, free: 2.832 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-05/2.911, allocations: 8 kB / 1.558 GB, free: 2.824 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/2.911, allocations: 7.938 kB / 1.558 GB, free: 2.816 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02689/2.937, allocations: 6.019 MB / 1.564 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01011/2.948, allocations: 1.394 MB / 1.566 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004503/2.952, allocations: 63.97 kB / 1.566 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01001/2.962, allocations: 491 kB / 1.566 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/2.963, allocations: 149.7 kB / 1.566 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009719/2.964, allocations: 115.9 kB / 1.566 GB, free: 10.51 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.02209/2.987, allocations: 6.354 MB / 1.573 GB, free: 4.184 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.045e-06/2.987, allocations: 4 kB / 1.573 GB, free: 4.18 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01448/3.001, allocations: 2.031 MB / 1.575 GB, free: 2.145 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03061/3.032, allocations: 7.538 MB / 1.582 GB, free: 10.61 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.03/3.062, allocations: 6.066 MB / 1.588 GB, free: 4.547 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.077e-05/3.062, allocations: 4.875 kB / 1.588 GB, free: 4.543 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.006591/3.068, allocations: 1.669 MB / 1.59 GB, free: 2.875 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04013/3.109, allocations: 4.559 MB / 1.594 GB, free: 14.51 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7879/3.897, allocations: 91.23 MB / 1.683 GB, free: 12.17 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01525/3.912, allocations: 5.512 MB / 1.689 GB, free: 6.637 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.01643/3.928, allocations: 2.14 MB / 1.691 GB, free: 4.523 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01493/3.943, allocations: 3.362 MB / 1.694 GB, free: 1.16 MB / 1.295 GB Notification: Performance of SimCode: time 2.585e-06/3.943, allocations: 0 / 1.694 GB, free: 1.16 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.918/10.86, allocations: 226.1 MB / 1.915 GB, free: 397.7 MB / 1.358 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/10.86, allocations: 278.2 kB / 1.915 GB, free: 397.3 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/23.2, allocations: 2.25 kB / 1.915 GB, free: 397.3 MB / 1.358 GB (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)