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.133/2.133, allocations: 248.5 MB / 261 MB, free: 6.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001475, allocations: 174.7 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.1 MB / 0.571 GB, free: 11.85 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.001128/0.001128, allocations: 98.41 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.671e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.945/2.153, allocations: 486 MB / 1.365 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/2.154, allocations: 102.2 kB / 1.365 GB, free: 224 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 23.28/25.44, allocations: 4.109 GB / 5.474 GB, free: 60.15 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.874e-06/25.44, allocations: 0 / 5.474 GB, free: 60.15 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003184/25.44, allocations: 287.1 kB / 5.474 GB, free: 60.1 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 0.04822/25.49, allocations: 9.796 MB / 5.484 GB, free: 55.84 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/25.49, allocations: 11.06 kB / 5.484 GB, free: 55.84 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0044/25.49, allocations: 0.7434 MB / 5.485 GB, free: 55.77 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03451/25.53, allocations: 3.143 MB / 5.488 GB, free: 55.12 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05672/25.58, allocations: 14.91 MB / 5.502 GB, free: 53.55 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003747/25.59, allocations: 0.9237 MB / 5.503 GB, free: 53.41 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00444/25.59, allocations: 0.6611 MB / 5.504 GB, free: 53.4 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/25.63, allocations: 9.276 MB / 5.513 GB, free: 52.52 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003382/25.63, allocations: 3.969 kB / 5.513 GB, free: 52.52 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00313/25.63, allocations: 242.5 kB / 5.513 GB, free: 52.52 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/25.63, allocations: 149.5 kB / 5.513 GB, free: 52.52 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/25.66, allocations: 9.241 MB / 5.522 GB, free: 52.47 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.1277/25.79, allocations: 44.07 MB / 5.565 GB, free: 39.05 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/25.81, allocations: 7.382 MB / 5.573 GB, free: 37.73 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/25.82, allocations: 3.692 MB / 5.576 GB, free: 37.69 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003911/25.83, allocations: 3.111 MB / 5.579 GB, free: 34.31 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01242/25.84, allocations: 3.849 MB / 5.583 GB, free: 34.16 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01517/25.86, allocations: 1.541 MB / 5.585 GB, free: 33.83 MB / 1.104 GB Notification: Performance of pre-optimization done (n=423): time 3.518e-05/25.86, allocations: 0 / 5.585 GB, free: 33.83 MB / 1.104 GB Notification: Performance of matching and sorting (n=423): time 0.02932/25.89, allocations: 7.611 MB / 5.592 GB, free: 33.07 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003537/25.89, allocations: 0.9898 MB / 5.593 GB, free: 31.91 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03228/25.92, allocations: 9.585 MB / 5.602 GB, free: 31.29 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002757/25.92, allocations: 149.7 kB / 5.602 GB, free: 31.26 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01061/25.93, allocations: 4.655 MB / 5.607 GB, free: 30.27 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003444/25.94, allocations: 1.445 MB / 5.608 GB, free: 29.34 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/25.94, allocations: 114.3 kB / 5.609 GB, free: 29.34 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008007/25.94, allocations: 0.5356 MB / 5.609 GB, free: 29.01 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01191/25.95, allocations: 3.817 MB / 5.613 GB, free: 29 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0146/25.96, allocations: 5.585 MB / 5.618 GB, free: 27.2 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/25.98, allocations: 4.252 MB / 5.622 GB, free: 27 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-05/25.98, allocations: 6.406 kB / 5.622 GB, free: 27 MB / 1.104 GB Notification: Performance of matching and sorting (n=745) (initialization): time 0.03909/26.02, allocations: 10.44 MB / 5.633 GB, free: 26.15 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003098/26.02, allocations: 14.3 MB / 5.647 GB, free: 11.64 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002651/26.02, allocations: 50.36 kB / 5.647 GB, free: 11.64 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/26.02, allocations: 490.3 kB / 5.647 GB, free: 11.59 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/26.04, allocations: 1.748 MB / 5.649 GB, free: 11.57 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/26.05, allocations: 4.26 MB / 5.653 GB, free: 24.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02079/26.07, allocations: 1.023 MB / 5.654 GB, free: 24.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003015/26.07, allocations: 315.6 kB / 5.654 GB, free: 24.2 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/26.07, allocations: 3.938 kB / 5.654 GB, free: 24.2 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0345/26.11, allocations: 9.507 MB / 5.663 GB, free: 21.31 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002169/26.11, allocations: 45.59 kB / 5.664 GB, free: 21.31 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/26.11, allocations: 0.4942 MB / 5.664 GB, free: 21.17 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01646/26.13, allocations: 1.716 MB / 5.666 GB, free: 21.03 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/26.14, allocations: 8.897 MB / 5.674 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01923/26.16, allocations: 1.018 MB / 5.675 GB, free: 13.54 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00256/26.16, allocations: 317.5 kB / 5.676 GB, free: 13.49 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 () * 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.0044/26.17, allocations: 473.3 kB / 5.676 GB, free: 13.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004829/26.17, allocations: 0.9771 MB / 5.677 GB, free: 12.57 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03393/26.21, allocations: 8.917 MB / 5.686 GB, free: 8.957 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.225e-05/26.21, allocations: 47.12 kB / 5.686 GB, free: 8.957 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/26.21, allocations: 11.66 kB / 5.686 GB, free: 8.949 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02317/26.23, allocations: 6.935 MB / 5.693 GB, free: 6.039 MB / 1.12 GB Warning: The model contains alias variables with conflicting start and/or 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.06891/26.3, allocations: 20.53 MB / 5.713 GB, free: 12.61 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/26.3, allocations: 3.469 kB / 5.713 GB, free: 12.61 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01245/26.31, allocations: 1.212 MB / 5.714 GB, free: 12.52 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/26.31, allocations: 431.9 kB / 5.714 GB, free: 12.38 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001708/26.31, allocations: 157.5 kB / 5.714 GB, free: 12.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/26.32, allocations: 4.078 MB / 5.718 GB, free: 8.676 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/26.32, allocations: 3.219 kB / 5.718 GB, free: 8.676 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04185/26.36, allocations: 13.54 MB / 5.732 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01277/26.37, allocations: 2.6 MB / 5.734 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005307/26.38, allocations: 126.3 kB / 5.734 GB, free: 14.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01736/26.4, allocations: 0.9144 MB / 5.735 GB, free: 13.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001929/26.4, allocations: 299.5 kB / 5.735 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001437/26.4, allocations: 202.2 kB / 5.736 GB, free: 13.34 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02631/26.43, allocations: 7.358 MB / 5.743 GB, free: 6.809 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.31e-07/26.43, allocations: 0 / 5.743 GB, free: 6.809 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.03585/26.46, allocations: 5.192 MB / 5.748 GB, free: 1.668 MB / 1.151 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) * 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 1.19/27.65, allocations: 18.75 MB / 5.766 GB, free: 108.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0491/27.7, allocations: 15.17 MB / 5.781 GB, free: 107.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/27.7, allocations: 7.656 kB / 5.781 GB, free: 107.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01261/27.71, allocations: 3.876 MB / 5.785 GB, free: 107 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05005/27.76, allocations: 5.553 MB / 5.79 GB, free: 107 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08871/27.85, allocations: 21.68 MB / 5.811 GB, free: 103.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0161/27.87, allocations: 6.229 MB / 5.818 GB, free: 102.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.04209/27.91, allocations: 4.992 MB / 5.822 GB, free: 102.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01509/27.93, allocations: 4.592 MB / 5.827 GB, free: 102.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/27.93, allocations: 0 / 5.827 GB, free: 102.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8448/28.77, allocations: 355.6 MB / 6.174 GB, free: 11.69 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004414/28.77, allocations: 279.3 kB / 6.174 GB, free: 11.36 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.34/54.11, allocations: 0.5625 kB / 6.174 GB, free: 11.36 MB / 1.214 GB