Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_Buildings_Experimental_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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5355, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.1973/0.7328, allocations: 236.5 MB / 1.248 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5098/1.243, allocations: 43.37 MB / 1.291 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007429/1.25, allocations: 235.2 kB / 1.291 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007836/1.258, allocations: 3.19 MB / 1.294 GB, free: 56.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01804/1.276, allocations: 7.748 MB / 1.302 GB, free: 55.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01169/1.288, allocations: 5.684 MB / 1.307 GB, free: 55.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02549/1.313, allocations: 26.66 MB / 1.333 GB, free: 49.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/1.326, allocations: 11.5 MB / 1.344 GB, free: 44.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/1.343, allocations: 9.541 MB / 1.354 GB, free: 40.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/1.353, allocations: 6.881 MB / 1.36 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002778/1.356, allocations: 1.067 MB / 1.362 GB, free: 37.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/1.366, allocations: 3.475 MB / 1.365 GB, free: 34.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003691/1.37, allocations: 2.637 MB / 1.367 GB, free: 31.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01069/1.381, allocations: 5.538 MB / 1.373 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01908/1.4, allocations: 18.81 MB / 1.391 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.4, allocations: 4 kB / 1.391 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/1.4, allocations: 0 / 1.391 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003219/1.4, allocations: 3.938 kB / 1.391 GB, free: 7.551 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.01967/1.42, allocations: 10.38 MB / 1.401 GB, free: 13.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.42, allocations: 12.03 kB / 1.401 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/1.421, allocations: 0.6691 MB / 1.402 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006355/1.428, allocations: 1.359 MB / 1.403 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/1.445, allocations: 10.6 MB / 1.414 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/1.446, allocations: 472.3 kB / 1.414 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/1.447, allocations: 0.5221 MB / 1.415 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/1.464, allocations: 7.27 MB / 1.422 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/1.464, allocations: 11.94 kB / 1.422 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/1.465, allocations: 202.2 kB / 1.422 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/1.465, allocations: 201.3 kB / 1.422 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/1.478, allocations: 6.255 MB / 1.428 GB, free: 1.535 MB / 1.029 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.04685/1.525, allocations: 34.17 MB / 1.462 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/1.53, allocations: 2.396 MB / 1.464 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/1.534, allocations: 1.77 MB / 1.466 GB, free: 9.465 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/1.535, allocations: 2.036 MB / 1.468 GB, free: 7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003926/1.539, allocations: 1.796 MB / 1.469 GB, free: 5.191 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 5.911e-06/1.539, allocations: 3.938 kB / 1.469 GB, free: 5.188 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.01159/1.551, allocations: 4.87 MB / 1.474 GB, free: 316 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/1.551, allocations: 77.41 kB / 1.474 GB, free: 228 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01602/1.567, allocations: 9.219 MB / 1.483 GB, free: 7.023 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/1.568, allocations: 89.7 kB / 1.483 GB, free: 6.93 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.004207/1.572, allocations: 3.803 MB / 1.487 GB, free: 3.125 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.573, allocations: 0.7723 MB / 1.488 GB, free: 2.359 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/1.574, allocations: 0.7934 MB / 1.489 GB, free: 1.559 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/1.574, allocations: 305.1 kB / 1.489 GB, free: 1.258 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/1.578, allocations: 1.665 MB / 1.491 GB, free: 15.59 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.582, allocations: 3.287 MB / 1.494 GB, free: 11.67 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/1.59, allocations: 4.349 MB / 1.498 GB, free: 6.875 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.928e-05/1.59, allocations: 8 kB / 1.498 GB, free: 6.867 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01151/1.601, allocations: 5.113 MB / 1.503 GB, free: 1.699 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/1.601, allocations: 20 kB / 1.503 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/1.601, allocations: 28 kB / 1.503 GB, free: 1.652 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.353e-05/1.601, allocations: 52.03 kB / 1.503 GB, free: 1.602 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/1.605, allocations: 0.8425 MB / 1.504 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.165e-05/1.605, allocations: 71.72 kB / 1.504 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/1.611, allocations: 0.6169 MB / 1.505 GB, free: 68 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/1.611, allocations: 160 kB / 1.505 GB, free: 15.91 MB / 1.123 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],y1.y[1],chi.com.y1One) * 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.004969/1.616, allocations: 3.07 MB / 1.508 GB, free: 12.83 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002313/1.619, allocations: 0.7292 MB / 1.508 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/1.628, allocations: 4.1 MB / 1.512 GB, free: 7.996 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.628, allocations: 23.98 kB / 1.513 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.628, allocations: 3.984 kB / 1.513 GB, free: 7.969 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005855/1.633, allocations: 3.186 MB / 1.516 GB, free: 4.734 MB / 1.123 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.02023/1.654, allocations: 11.24 MB / 1.527 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.654, allocations: 0 / 1.527 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.656, allocations: 0.5268 MB / 1.527 GB, free: 8.887 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-05/1.656, allocations: 8 kB / 1.527 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/1.656, allocations: 87.94 kB / 1.527 GB, free: 8.793 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.656, allocations: 11.94 kB / 1.527 GB, free: 8.781 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.656, allocations: 4 kB / 1.527 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.667, allocations: 6.023 MB / 1.533 GB, free: 2.688 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003273/1.671, allocations: 1.437 MB / 1.535 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.672, allocations: 59.98 kB / 1.535 GB, free: 1.164 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/1.677, allocations: 251.5 kB / 1.535 GB, free: 0.918 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/1.677, allocations: 149.7 kB / 1.535 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.677, allocations: 115.9 kB / 1.535 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01109/1.688, allocations: 6.559 MB / 1.541 GB, free: 10.13 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.61e-07/1.688, allocations: 0 / 1.541 GB, free: 10.13 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006715/1.695, allocations: 2.082 MB / 1.543 GB, free: 8.043 MB / 1.154 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.com.y1One,y1.y[1],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.01342/1.708, allocations: 7.647 MB / 1.551 GB, free: 456 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.721, allocations: 6.078 MB / 1.557 GB, free: 10.37 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.721, allocations: 4 kB / 1.557 GB, free: 10.37 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/1.724, allocations: 1.667 MB / 1.559 GB, free: 8.699 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01922/1.744, allocations: 4.566 MB / 1.563 GB, free: 4.336 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/1.867, allocations: 90.21 MB / 1.651 GB, free: 3.031 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006565/1.874, allocations: 5.522 MB / 1.656 GB, free: 13.48 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007653/1.881, allocations: 2.126 MB / 1.659 GB, free: 11.39 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005303/1.887, allocations: 3.366 MB / 1.662 GB, free: 8.023 MB / 1.279 GB Notification: Performance of SimCode: time 6.01e-07/1.887, allocations: 0 / 1.662 GB, free: 8.023 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.103/5.99, allocations: 231.5 MB / 1.888 GB, free: 442.1 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/22.01, allocations: 3.812 kB / 1.888 GB, free: 442.1 MB / 1.358 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)