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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007187/0.007187, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.002156/0.002156, allocations: 205.1 kB / 16.68 MB, free: 5.973 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.422/2.422, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 64.12 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2526, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6358/0.8884, allocations: 236.6 MB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.05077/0.9392, allocations: 43.32 MB / 1.515 GB, free: 15.13 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006033/0.9453, allocations: 234.6 kB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006429/0.9518, allocations: 3.164 MB / 1.518 GB, free: 11.72 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.9675, allocations: 7.687 MB / 1.526 GB, free: 4.012 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.9776, allocations: 5.731 MB / 1.532 GB, free: 14.33 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.02494/1.003, allocations: 26.45 MB / 1.557 GB, free: 3.828 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/1.015, allocations: 11.43 MB / 1.569 GB, free: 8.285 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01563/1.03, allocations: 9.857 MB / 1.578 GB, free: 14.42 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008065/1.038, allocations: 6.691 MB / 1.585 GB, free: 7.703 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/1.04, allocations: 1.047 MB / 1.586 GB, free: 6.656 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00638/1.046, allocations: 3.449 MB / 1.589 GB, free: 3.203 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002177/1.048, allocations: 2.578 MB / 1.592 GB, free: 0.6172 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005403/1.054, allocations: 5.489 MB / 1.597 GB, free: 11.11 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/1.071, allocations: 18.24 MB / 1.615 GB, free: 8.812 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.071, allocations: 0 / 1.615 GB, free: 8.812 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.153e-06/1.071, allocations: 4 kB / 1.615 GB, free: 8.809 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.000157/1.072, allocations: 4 kB / 1.615 GB, free: 8.805 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.01504/1.087, allocations: 10.51 MB / 1.625 GB, free: 14.18 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/1.087, allocations: 8.031 kB / 1.625 GB, free: 14.17 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008025/1.087, allocations: 0.6695 MB / 1.626 GB, free: 13.49 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/1.093, allocations: 1.454 MB / 1.627 GB, free: 12.03 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/1.107, allocations: 10.85 MB / 1.638 GB, free: 1.109 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/1.107, allocations: 462 kB / 1.638 GB, free: 0.6445 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007088/1.108, allocations: 0.5155 MB / 1.639 GB, free: 132 kB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/1.119, allocations: 7.349 MB / 1.646 GB, free: 8.605 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/1.119, allocations: 11.94 kB / 1.646 GB, free: 8.594 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000452/1.12, allocations: 200 kB / 1.646 GB, free: 8.398 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.12, allocations: 147.9 kB / 1.646 GB, free: 8.254 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/1.13, allocations: 6.364 MB / 1.652 GB, free: 1.875 MB / 1.342 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.03629/1.167, allocations: 34.56 MB / 1.686 GB, free: 13.13 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/1.171, allocations: 2.59 MB / 1.689 GB, free: 10.53 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/1.175, allocations: 1.847 MB / 1.691 GB, free: 8.684 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/1.176, allocations: 2.032 MB / 1.693 GB, free: 6.207 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003506/1.18, allocations: 1.889 MB / 1.694 GB, free: 4.305 MB / 1.389 GB Notification: Performance of pre-optimization done (n=212): time 3.607e-06/1.18, allocations: 3.938 kB / 1.694 GB, free: 4.301 MB / 1.389 GB Notification: Performance of matching and sorting (n=212): time 0.01041/1.19, allocations: 5.121 MB / 1.699 GB, free: 15.17 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.19, allocations: 81.34 kB / 1.699 GB, free: 15.08 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/1.202, allocations: 9.105 MB / 1.708 GB, free: 5.988 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/1.202, allocations: 93.7 kB / 1.708 GB, free: 5.891 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.003627/1.206, allocations: 3.801 MB / 1.712 GB, free: 2.07 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/1.207, allocations: 0.7825 MB / 1.713 GB, free: 1.281 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/1.208, allocations: 0.7767 MB / 1.714 GB, free: 0.4961 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.208, allocations: 305.1 kB / 1.714 GB, free: 200 kB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00321/1.211, allocations: 1.735 MB / 1.716 GB, free: 14.46 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/1.216, allocations: 3.345 MB / 1.719 GB, free: 10.48 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007055/1.223, allocations: 4.418 MB / 1.723 GB, free: 5.605 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.223, allocations: 8 kB / 1.723 GB, free: 5.598 MB / 1.42 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009257/1.232, allocations: 5.244 MB / 1.728 GB, free: 308 kB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.232, allocations: 20 kB / 1.728 GB, free: 288 kB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/1.232, allocations: 32 kB / 1.728 GB, free: 256 kB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-05/1.232, allocations: 48 kB / 1.728 GB, free: 208 kB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.235, allocations: 0.8309 MB / 1.729 GB, free: 15.37 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.498e-05/1.235, allocations: 63.78 kB / 1.729 GB, free: 15.3 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.239, allocations: 0.665 MB / 1.73 GB, free: 14.63 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/1.24, allocations: 164 kB / 1.73 GB, free: 14.47 MB / 1.436 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 (402): * Single equations (assignments): 402 * 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.00367/1.243, allocations: 3.007 MB / 1.733 GB, free: 11.45 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.244, allocations: 0.7569 MB / 1.734 GB, free: 10.69 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/1.252, allocations: 4.215 MB / 1.738 GB, free: 6.477 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/1.252, allocations: 27.98 kB / 1.738 GB, free: 6.449 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.252, allocations: 0 / 1.738 GB, free: 6.449 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006138/1.258, allocations: 3.328 MB / 1.741 GB, free: 3.074 MB / 1.436 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.01619/1.275, allocations: 11.29 MB / 1.752 GB, free: 7.629 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.275, allocations: 0 / 1.752 GB, free: 7.629 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.277, allocations: 0.5697 MB / 1.753 GB, free: 7.059 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.277, allocations: 8 kB / 1.753 GB, free: 7.051 MB / 1.451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/1.277, allocations: 75.94 kB / 1.753 GB, free: 6.977 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.277, allocations: 8 kB / 1.753 GB, free: 6.969 MB / 1.451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.277, allocations: 8 kB / 1.753 GB, free: 6.961 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.288, allocations: 6.317 MB / 1.759 GB, free: 0.5977 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/1.29, allocations: 1.456 MB / 1.76 GB, free: 15.12 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007863/1.291, allocations: 51.98 kB / 1.761 GB, free: 15.07 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.294, allocations: 283.6 kB / 1.761 GB, free: 14.79 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.294, allocations: 145.7 kB / 1.761 GB, free: 14.64 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.294, allocations: 111.9 kB / 1.761 GB, free: 14.54 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.008168/1.303, allocations: 6.48 MB / 1.767 GB, free: 8.078 MB / 1.467 GB Notification: Performance of sort global known variables: time 1.7e-07/1.303, allocations: 3.938 kB / 1.767 GB, free: 8.074 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.004296/1.307, allocations: 2.098 MB / 1.769 GB, free: 5.973 MB / 1.467 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (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].actPos.y,chi.valEva.val[2].actPos.y,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].actPos.y,chi.valCon.val[2].actPos.y,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 (222): * Single equations (assignments): 209 * 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.0126/1.319, allocations: 7.898 MB / 1.777 GB, free: 14.05 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.007155/1.327, allocations: 3.952 MB / 1.781 GB, free: 10.1 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.327, allocations: 7.938 kB / 1.781 GB, free: 10.09 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/1.33, allocations: 1.746 MB / 1.783 GB, free: 8.344 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/1.344, allocations: 4.594 MB / 1.787 GB, free: 3.898 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.95/2.294, allocations: 64.18 MB / 1.85 GB, free: 485.9 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004828/2.299, allocations: 5.435 MB / 1.855 GB, free: 484 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.006077/2.305, allocations: 2.092 MB / 1.857 GB, free: 483.9 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00356/2.309, allocations: 3.329 MB / 1.86 GB, free: 481.3 MB / 1.514 GB Notification: Performance of SimCode: time 5.71e-07/2.309, allocations: 1.781 kB / 1.86 GB, free: 481.3 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.633/5.942, allocations: 224.2 MB / 2.079 GB, free: 301.9 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 53.15/59.09, allocations: 6.562 kB / 2.079 GB, free: 301.9 MB / 1.514 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=400 --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)