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.004972/0.004972, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001374/0.001374, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.401/2.401, allocations: 437.1 MB / 0.7106 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 63.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.642/0.881, allocations: 236.5 MB / 1.397 GB, free: 8.535 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.05181/0.9329, allocations: 43.38 MB / 1.44 GB, free: 2.285 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00597/0.9389, allocations: 234.6 kB / 1.44 GB, free: 2.055 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00646/0.9454, allocations: 3.188 MB / 1.443 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01622/0.9616, allocations: 7.74 MB / 1.45 GB, free: 7.082 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.972, allocations: 5.739 MB / 1.456 GB, free: 1.391 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02675/0.9987, allocations: 26.73 MB / 1.482 GB, free: 6.602 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/1.012, allocations: 11.51 MB / 1.493 GB, free: 10.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01575/1.027, allocations: 9.588 MB / 1.503 GB, free: 1.387 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009021/1.036, allocations: 6.878 MB / 1.509 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001485/1.038, allocations: 1.066 MB / 1.51 GB, free: 9.414 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006863/1.045, allocations: 3.488 MB / 1.514 GB, free: 5.922 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002355/1.047, allocations: 2.637 MB / 1.516 GB, free: 3.277 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005756/1.053, allocations: 5.543 MB / 1.522 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01918/1.072, allocations: 19.04 MB / 1.54 GB, free: 10.62 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.072, allocations: 4 kB / 1.54 GB, free: 10.61 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.313e-06/1.072, allocations: 0 / 1.54 GB, free: 10.61 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001803/1.072, allocations: 0 / 1.54 GB, free: 10.61 MB / 1.201 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.0162/1.088, allocations: 10.66 MB / 1.551 GB, free: 15.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/1.088, allocations: 12.03 kB / 1.551 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008578/1.089, allocations: 0.6698 MB / 1.552 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/1.095, allocations: 1.466 MB / 1.553 GB, free: 13.67 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/1.11, allocations: 11.05 MB / 1.564 GB, free: 2.551 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/1.111, allocations: 470.1 kB / 1.564 GB, free: 2.078 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007625/1.111, allocations: 0.5272 MB / 1.565 GB, free: 1.551 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.123, allocations: 7.311 MB / 1.572 GB, free: 10.07 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/1.123, allocations: 11.94 kB / 1.572 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004793/1.123, allocations: 208 kB / 1.572 GB, free: 9.852 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/1.123, allocations: 197.3 kB / 1.572 GB, free: 9.656 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/1.134, allocations: 6.349 MB / 1.578 GB, free: 3.293 MB / 1.232 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.03674/1.171, allocations: 34.09 MB / 1.612 GB, free: 15.16 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/1.175, allocations: 2.45 MB / 1.614 GB, free: 12.71 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/1.179, allocations: 1.834 MB / 1.616 GB, free: 10.87 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/1.18, allocations: 2.032 MB / 1.618 GB, free: 8.391 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003303/1.184, allocations: 1.827 MB / 1.62 GB, free: 6.555 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.028e-06/1.184, allocations: 4 kB / 1.62 GB, free: 6.551 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.009661/1.193, allocations: 4.986 MB / 1.625 GB, free: 1.559 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.193, allocations: 77.41 kB / 1.625 GB, free: 1.469 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.204, allocations: 9.216 MB / 1.634 GB, free: 8.27 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/1.205, allocations: 89.7 kB / 1.634 GB, free: 8.176 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003666/1.208, allocations: 3.845 MB / 1.637 GB, free: 4.32 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/1.209, allocations: 0.8096 MB / 1.638 GB, free: 3.504 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.21, allocations: 0.8004 MB / 1.639 GB, free: 2.695 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.21, allocations: 313 kB / 1.639 GB, free: 2.387 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/1.214, allocations: 1.689 MB / 1.641 GB, free: 0.6953 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004476/1.218, allocations: 3.303 MB / 1.644 GB, free: 12.77 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006834/1.225, allocations: 4.408 MB / 1.649 GB, free: 7.895 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.225, allocations: 8 kB / 1.649 GB, free: 7.887 MB / 1.311 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009037/1.234, allocations: 5.207 MB / 1.654 GB, free: 2.629 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.234, allocations: 16 kB / 1.654 GB, free: 2.613 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.234, allocations: 32 kB / 1.654 GB, free: 2.582 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/1.234, allocations: 48 kB / 1.654 GB, free: 2.535 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/1.237, allocations: 0.8543 MB / 1.655 GB, free: 1.68 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-05/1.237, allocations: 63.8 kB / 1.655 GB, free: 1.617 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.242, allocations: 0.6415 MB / 1.655 GB, free: 0.9727 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/1.242, allocations: 168 kB / 1.655 GB, free: 0.8086 MB / 1.311 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.003769/1.246, allocations: 3.062 MB / 1.658 GB, free: 13.73 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.247, allocations: 0.7646 MB / 1.659 GB, free: 12.96 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007584/1.254, allocations: 4.158 MB / 1.663 GB, free: 8.809 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.254, allocations: 23.98 kB / 1.663 GB, free: 8.785 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.254, allocations: 0 / 1.663 GB, free: 8.785 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005829/1.26, allocations: 3.235 MB / 1.666 GB, free: 5.5 MB / 1.326 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.01602/1.276, allocations: 11.3 MB / 1.677 GB, free: 10.05 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.276, allocations: 8.031 kB / 1.677 GB, free: 10.04 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/1.279, allocations: 0.5344 MB / 1.678 GB, free: 9.504 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.279, allocations: 16 kB / 1.678 GB, free: 9.488 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.279, allocations: 87.92 kB / 1.678 GB, free: 9.402 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/1.279, allocations: 11.98 kB / 1.678 GB, free: 9.391 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.279, allocations: 4 kB / 1.678 GB, free: 9.387 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.289, allocations: 6.147 MB / 1.684 GB, free: 3.184 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.291, allocations: 1.48 MB / 1.686 GB, free: 1.68 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007461/1.292, allocations: 63.97 kB / 1.686 GB, free: 1.617 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/1.295, allocations: 259.5 kB / 1.686 GB, free: 1.363 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.295, allocations: 149.7 kB / 1.686 GB, free: 1.215 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.296, allocations: 115.9 kB / 1.686 GB, free: 1.102 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.008482/1.304, allocations: 6.562 MB / 1.692 GB, free: 10.57 MB / 1.357 GB Notification: Performance of sort global known variables: time 2.2e-07/1.304, allocations: 3.938 kB / 1.692 GB, free: 10.56 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.004486/1.309, allocations: 2.101 MB / 1.695 GB, free: 8.457 MB / 1.357 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.01245/1.321, allocations: 7.751 MB / 1.702 GB, free: 0.6836 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.007008/1.328, allocations: 3.868 MB / 1.706 GB, free: 12.82 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.328, allocations: 12.12 kB / 1.706 GB, free: 12.81 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/1.331, allocations: 1.69 MB / 1.708 GB, free: 11.11 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01503/1.346, allocations: 4.567 MB / 1.712 GB, free: 6.703 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09604/1.442, allocations: 64.86 MB / 1.775 GB, free: 4.602 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005661/1.448, allocations: 5.514 MB / 1.781 GB, free: 15.06 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.006375/1.454, allocations: 2.142 MB / 1.783 GB, free: 12.96 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004895/1.459, allocations: 3.373 MB / 1.786 GB, free: 9.582 MB / 1.451 GB Notification: Performance of SimCode: time 8.42e-07/1.459, allocations: 0 / 1.786 GB, free: 9.582 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.284/5.743, allocations: 226.4 MB / 2.007 GB, free: 374.3 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.76/35.5, allocations: 13.89 kB / 2.007 GB, free: 374.3 MB / 1.467 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=400 --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)