Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.121/2.121, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003197/0.003197, allocations: 171.4 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.322/2.322, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 93.45 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 11.44 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.577, allocations: 486 MB / 1.373 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004232/1.577, allocations: 118.1 kB / 1.374 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 22.89/24.47, allocations: 4.121 GB / 5.495 GB, free: 6.289 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.625e-06/24.47, allocations: 0 / 5.495 GB, free: 6.289 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003111/24.48, allocations: 295.6 kB / 5.495 GB, free: 6 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1432 * Number of variables: 1432 Notification: Performance of Generate backend data structure: time 2.332/26.81, allocations: 12.23 MB / 5.507 GB, free: 54.5 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/26.81, allocations: 9.469 kB / 5.507 GB, free: 54.5 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005411/26.81, allocations: 0.7602 MB / 5.508 GB, free: 54.43 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/26.85, allocations: 3.148 MB / 5.511 GB, free: 53.79 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06014/26.91, allocations: 15.02 MB / 5.526 GB, free: 52.61 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003955/26.91, allocations: 0.9183 MB / 5.527 GB, free: 52.46 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004807/26.92, allocations: 0.6654 MB / 5.527 GB, free: 52.46 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0438/26.96, allocations: 10.06 MB / 5.537 GB, free: 51.57 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/26.96, allocations: 11 kB / 5.537 GB, free: 51.57 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003162/26.97, allocations: 239.1 kB / 5.537 GB, free: 51.57 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/26.97, allocations: 153.3 kB / 5.537 GB, free: 51.57 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04842/27.01, allocations: 10.91 MB / 5.548 GB, free: 51.52 MB / 1.104 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.1309/27.15, allocations: 44.05 MB / 5.591 GB, free: 38.21 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03325/27.18, allocations: 8.466 MB / 5.599 GB, free: 36.94 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003867/27.18, allocations: 3.114 MB / 5.602 GB, free: 33.56 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01833/27.2, allocations: 4.588 MB / 5.607 GB, free: 33.42 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01604/27.22, allocations: 1.55 MB / 5.608 GB, free: 33.17 MB / 1.104 GB Notification: Performance of pre-optimization done (n=423): time 4.433e-05/27.22, allocations: 1.625 kB / 5.608 GB, free: 33.17 MB / 1.104 GB Notification: Performance of matching and sorting (n=423): time 0.06219/27.28, allocations: 13.64 MB / 5.622 GB, free: 31.93 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003693/27.28, allocations: 0.9884 MB / 5.623 GB, free: 30.77 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03391/27.31, allocations: 9.694 MB / 5.632 GB, free: 30.21 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002708/27.32, allocations: 149.9 kB / 5.632 GB, free: 30.18 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/27.33, allocations: 4.658 MB / 5.637 GB, free: 29.21 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003433/27.33, allocations: 1.447 MB / 5.638 GB, free: 28.28 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002229/27.33, allocations: 112.9 kB / 5.638 GB, free: 28.28 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0007548/27.33, allocations: 0.5273 MB / 5.639 GB, free: 27.96 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01828/27.35, allocations: 4.579 MB / 5.643 GB, free: 27.95 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02181/27.37, allocations: 6.355 MB / 5.65 GB, free: 26.2 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01979/27.39, allocations: 5.001 MB / 5.654 GB, free: 26.06 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.089e-05/27.39, allocations: 8.266 kB / 5.654 GB, free: 26.06 MB / 1.104 GB Notification: Performance of matching and sorting (n=745) (initialization): time 0.05115/27.45, allocations: 11.96 MB / 5.666 GB, free: 25.26 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.005866/27.45, allocations: 14.29 MB / 5.68 GB, free: 26.85 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003169/27.45, allocations: 45.64 kB / 5.68 GB, free: 26.85 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/27.45, allocations: 0.5021 MB / 5.681 GB, free: 26.81 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01686/27.47, allocations: 1.751 MB / 5.682 GB, free: 26.81 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006579/27.48, allocations: 4.265 MB / 5.686 GB, free: 23.54 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02016/27.5, allocations: 1.026 MB / 5.687 GB, free: 23.49 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002837/27.5, allocations: 309.3 kB / 5.688 GB, free: 23.49 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/27.5, allocations: 6.906 kB / 5.688 GB, free: 23.49 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.047/27.55, allocations: 11.03 MB / 5.699 GB, free: 23.23 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/27.55, allocations: 46.14 kB / 5.699 GB, free: 23.23 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/27.55, allocations: 0.5034 MB / 5.699 GB, free: 23.2 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01635/27.57, allocations: 1.711 MB / 5.701 GB, free: 23.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/27.58, allocations: 9.038 MB / 5.71 GB, free: 17.62 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/27.6, allocations: 1.022 MB / 5.711 GB, free: 17.59 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002933/27.6, allocations: 306.7 kB / 5.711 GB, free: 17.59 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,intWSEPri2.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 659 * Array equations: 10 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,1 3,6 9,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.01421/27.62, allocations: 3.211 MB / 5.714 GB, free: 17.35 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005827/27.62, allocations: 0.9754 MB / 5.715 GB, free: 16.82 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04914/27.67, allocations: 10.43 MB / 5.725 GB, free: 32.35 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/27.67, allocations: 54.14 kB / 5.725 GB, free: 32.35 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/27.67, allocations: 1.125 kB / 5.725 GB, free: 32.35 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03524/27.71, allocations: 8.434 MB / 5.733 GB, free: 31.95 MB / 1.136 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.08015/27.79, allocations: 22.04 MB / 5.755 GB, free: 30.29 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/27.79, allocations: 0 / 5.755 GB, free: 30.29 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01239/27.8, allocations: 1.218 MB / 5.756 GB, free: 30.29 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/27.8, allocations: 434.7 kB / 5.757 GB, free: 30.25 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001673/27.81, allocations: 161.3 kB / 5.757 GB, free: 30.24 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/27.81, allocations: 4.087 MB / 5.761 GB, free: 26.98 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/27.81, allocations: 4.516 kB / 5.761 GB, free: 26.98 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.057/27.87, allocations: 15.8 MB / 5.776 GB, free: 25.29 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01083/27.88, allocations: 2.602 MB / 5.779 GB, free: 24.44 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005136/27.88, allocations: 124.1 kB / 5.779 GB, free: 24.44 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01705/27.9, allocations: 0.9123 MB / 5.78 GB, free: 24.35 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/27.9, allocations: 299.8 kB / 5.78 GB, free: 24.34 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001043/27.9, allocations: 203.8 kB / 5.78 GB, free: 24.34 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02419/27.93, allocations: 7.464 MB / 5.787 GB, free: 24.05 MB / 1.136 GB Notification: Performance of sort global known variables: time 9.82e-07/27.93, allocations: 1.312 kB / 5.787 GB, free: 24.05 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.03582/27.96, allocations: 5.197 MB / 5.793 GB, free: 23.65 MB / 1.136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 32 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.chiPar.filter[1].x[1],intWSEPri1.chiPar.filter[1].x[2],intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.filter.x[1],intWSEPri1.wse.heaExc.thrWayVal.filter.x[2],intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.wse.filter[1].x[1],intWSEPri1.wse.filter[1].x[2],intWSEPri1.senTem.T,intWSEPri1.val5.filter.x[1],intWSEPri1.val5.filter.x[2],intWSEPri1.val6.filter.x[1],intWSEPri1.val6.filter.x[2],intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.chiPar.filter[1].x[1],intWSEPri2.chiPar.filter[1].x[2],intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.filter.x[1],intWSEPri2.wse.heaExc.thrWayVal.filter.x[2],intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.wse.filter[1].x[1],intWSEPri2.wse.filter[1].x[2],intWSEPri2.senTem.T,intWSEPri2.val5.filter.x[1],intWSEPri2.val5.filter.x[2],intWSEPri2.val6.filter.x[1],intWSEPri2.val6.filter.x[2],TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (460): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 8,1 3,6 8,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.06847/28.03, allocations: 20.78 MB / 5.813 GB, free: 16.78 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.0629/28.09, allocations: 17.1 MB / 5.83 GB, free: 10.48 MB / 1.136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-05/28.09, allocations: 6.359 kB / 5.83 GB, free: 10.48 MB / 1.136 GB Notification: Performance of simCode: created simulation system equations: time 0.01772/28.11, allocations: 4.634 MB / 5.834 GB, free: 8.977 MB / 1.136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04777/28.16, allocations: 5.552 MB / 5.839 GB, free: 7.852 MB / 1.136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1151/28.28, allocations: 48.05 MB / 5.886 GB, free: 6.777 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0158/28.29, allocations: 6.212 MB / 5.892 GB, free: 4.992 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03063/28.32, allocations: 3.314 MB / 5.896 GB, free: 4.582 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02567/28.35, allocations: 4.764 MB / 5.9 GB, free: 0.8438 MB / 1.167 GB Notification: Performance of SimCode: time 3.006e-06/28.35, allocations: 0 / 5.9 GB, free: 0.8438 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.985/30.33, allocations: 332.4 MB / 6.225 GB, free: 76.54 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/30.33, allocations: 312.9 kB / 6.225 GB, free: 76.18 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.16/53.49, allocations: 0 / 6.225 GB, free: 76.18 MB / 1.182 GB