Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_11_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.001856/0.001856, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001963/0.001963, allocations: 192.2 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.566/2.566, allocations: 469.8 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 70.42 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2398, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6178/0.8576, allocations: 234.2 MB / 1.292 GB, free: 48.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0397/0.8973, allocations: 42.97 MB / 1.334 GB, free: 46.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007034/0.9044, allocations: 215.1 kB / 1.335 GB, free: 46.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006062/0.9105, allocations: 2.805 MB / 1.337 GB, free: 45.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01622/0.9267, allocations: 7.25 MB / 1.344 GB, free: 42.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009153/0.9359, allocations: 5.341 MB / 1.35 GB, free: 39.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01964/0.9555, allocations: 26.81 MB / 1.376 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.9656, allocations: 11.39 MB / 1.387 GB, free: 20.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01416/0.9798, allocations: 9.639 MB / 1.396 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007554/0.9874, allocations: 7.079 MB / 1.403 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.9894, allocations: 1.055 MB / 1.404 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.9968, allocations: 3.51 MB / 1.408 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.9996, allocations: 2.637 MB / 1.41 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006766/1.006, allocations: 5.535 MB / 1.416 GB, free: 8.793 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/1.024, allocations: 18.24 MB / 1.433 GB, free: 6.988 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.024, allocations: 0 / 1.433 GB, free: 6.988 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/1.024, allocations: 0 / 1.433 GB, free: 6.988 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001636/1.024, allocations: 0 / 1.433 GB, free: 6.988 MB / 1.029 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.01651/1.041, allocations: 10.35 MB / 1.444 GB, free: 12.64 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.041, allocations: 12.03 kB / 1.444 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008823/1.042, allocations: 0.6699 MB / 1.444 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/1.047, allocations: 1.41 MB / 1.446 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.063, allocations: 11.15 MB / 1.456 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/1.064, allocations: 473 kB / 1.457 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007866/1.064, allocations: 0.5181 MB / 1.457 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/1.076, allocations: 7.332 MB / 1.465 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.801e-05/1.076, allocations: 15.92 kB / 1.465 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004817/1.077, allocations: 202.7 kB / 1.465 GB, free: 6.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/1.077, allocations: 197.4 kB / 1.465 GB, free: 6.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/1.088, allocations: 6.353 MB / 1.471 GB, free: 284 kB / 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.03794/1.126, allocations: 34.49 MB / 1.505 GB, free: 11.81 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/1.13, allocations: 2.447 MB / 1.507 GB, free: 9.359 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003172/1.133, allocations: 1.803 MB / 1.509 GB, free: 7.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/1.135, allocations: 2.038 MB / 1.511 GB, free: 5.094 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003417/1.138, allocations: 1.835 MB / 1.513 GB, free: 3.242 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 3.447e-06/1.138, allocations: 0 / 1.513 GB, free: 3.242 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.009763/1.148, allocations: 4.954 MB / 1.518 GB, free: 14.28 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.148, allocations: 77.34 kB / 1.518 GB, free: 14.19 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.16, allocations: 8.938 MB / 1.526 GB, free: 5.273 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.16, allocations: 89.7 kB / 1.527 GB, free: 5.18 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.003705/1.164, allocations: 3.816 MB / 1.53 GB, free: 1.367 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007631/1.164, allocations: 0.7691 MB / 1.531 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/1.166, allocations: 0.7975 MB / 1.532 GB, free: 15.8 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.166, allocations: 301.1 kB / 1.532 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/1.169, allocations: 1.685 MB / 1.534 GB, free: 13.82 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/1.173, allocations: 3.296 MB / 1.537 GB, free: 9.895 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006933/1.18, allocations: 4.393 MB / 1.541 GB, free: 5.043 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.18, allocations: 8 kB / 1.541 GB, free: 5.035 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009235/1.19, allocations: 5.152 MB / 1.546 GB, free: 15.83 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/1.19, allocations: 20 kB / 1.546 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.19, allocations: 35.92 kB / 1.546 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/1.19, allocations: 48 kB / 1.546 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.193, allocations: 0.8506 MB / 1.547 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.946e-05/1.193, allocations: 75.67 kB / 1.547 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005519/1.199, allocations: 0.8824 MB / 1.548 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/1.199, allocations: 160 kB / 1.548 GB, free: 13.75 MB / 1.154 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.004053/1.203, allocations: 3.066 MB / 1.551 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.204, allocations: 0.7292 MB / 1.552 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007741/1.212, allocations: 4.14 MB / 1.556 GB, free: 5.793 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/1.212, allocations: 27.98 kB / 1.556 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.212, allocations: 7.875 kB / 1.556 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005891/1.218, allocations: 3.227 MB / 1.559 GB, free: 2.484 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.01684/1.235, allocations: 10.97 MB / 1.57 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.235, allocations: 0 / 1.57 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/1.237, allocations: 0.5347 MB / 1.57 GB, free: 6.902 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-05/1.237, allocations: 12 kB / 1.57 GB, free: 6.891 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.237, allocations: 83.92 kB / 1.571 GB, free: 6.809 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/1.237, allocations: 15.94 kB / 1.571 GB, free: 6.793 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.237, allocations: 7.938 kB / 1.571 GB, free: 6.785 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.248, allocations: 6.103 MB / 1.577 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/1.25, allocations: 1.397 MB / 1.578 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008516/1.251, allocations: 59.98 kB / 1.578 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003903/1.255, allocations: 491 kB / 1.578 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/1.255, allocations: 157.7 kB / 1.579 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.255, allocations: 123.8 kB / 1.579 GB, free: 14.38 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.008744/1.264, allocations: 6.354 MB / 1.585 GB, free: 8.055 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.11e-07/1.264, allocations: 0 / 1.585 GB, free: 8.055 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004514/1.269, allocations: 2.019 MB / 1.587 GB, free: 6.031 MB / 1.186 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.01269/1.281, allocations: 7.649 MB / 1.594 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.295, allocations: 6.116 MB / 1.6 GB, free: 8.277 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.295, allocations: 4 kB / 1.6 GB, free: 8.273 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003063/1.298, allocations: 1.691 MB / 1.602 GB, free: 6.586 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/1.313, allocations: 4.564 MB / 1.606 GB, free: 2.223 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3628/1.675, allocations: 91.39 MB / 1.696 GB, free: 15.7 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/1.682, allocations: 5.516 MB / 1.701 GB, free: 10.16 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.006998/1.689, allocations: 2.141 MB / 1.703 GB, free: 8.047 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004747/1.693, allocations: 3.362 MB / 1.706 GB, free: 4.688 MB / 1.311 GB Notification: Performance of SimCode: time 6.21e-07/1.693, allocations: 0 / 1.706 GB, free: 4.688 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.044/3.737, allocations: 226.4 MB / 1.927 GB, free: 381.8 MB / 1.358 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/3.737, allocations: 258.9 kB / 1.928 GB, free: 381.5 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/10.88, allocations: 0 / 1.928 GB, free: 381.5 MB / 1.358 GB (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)