Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.297/3.297, allocations: 287.3 MB / 302.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 181.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.00118, allocations: 85.67 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004948, allocations: 15.05 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.619, allocations: 451.6 MB / 1.419 GB, free: 10.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/1.619, allocations: 111.4 kB / 1.419 GB, free: 10.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.13/15.75, allocations: 2.622 GB / 4.041 GB, free: 29.9 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.645e-06/15.75, allocations: 0 / 4.041 GB, free: 29.9 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001412/15.75, allocations: 167.1 kB / 4.041 GB, free: 29.74 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.02995/15.78, allocations: 7.003 MB / 4.048 GB, free: 22.67 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/15.78, allocations: 8.031 kB / 4.048 GB, free: 22.66 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002604/15.79, allocations: 0.4985 MB / 4.048 GB, free: 22.15 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/15.8, allocations: 1.362 MB / 4.05 GB, free: 20.78 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02542/15.82, allocations: 6.582 MB / 4.056 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00389/15.83, allocations: 0.6915 MB / 4.057 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/15.83, allocations: 404.3 kB / 4.057 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/15.85, allocations: 4.88 MB / 4.062 GB, free: 8.016 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002379/15.85, allocations: 11.91 kB / 4.062 GB, free: 8.004 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001681/15.85, allocations: 160 kB / 4.062 GB, free: 7.848 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/15.85, allocations: 96 kB / 4.062 GB, free: 7.754 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/15.87, allocations: 4.377 MB / 4.067 GB, free: 3.371 MB / 1.042 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.06554/15.94, allocations: 22.33 MB / 4.088 GB, free: 11.83 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/15.95, allocations: 2.892 MB / 4.091 GB, free: 8.867 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/15.95, allocations: 1.916 MB / 4.093 GB, free: 6.547 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008437/15.96, allocations: 1.79 MB / 4.095 GB, free: 4.742 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005439/15.97, allocations: 0.4888 MB / 4.095 GB, free: 4.25 MB / 1.073 GB Notification: Performance of pre-optimization done (n=233): time 1.459e-05/15.97, allocations: 0 / 4.095 GB, free: 4.25 MB / 1.073 GB Notification: Performance of matching and sorting (n=233): time 1.051/17.02, allocations: 4.915 MB / 4.1 GB, free: 73.43 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/17.02, allocations: 498 kB / 4.101 GB, free: 72.87 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01798/17.04, allocations: 4.584 MB / 4.105 GB, free: 72.54 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/17.04, allocations: 86.42 kB / 4.105 GB, free: 72.5 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005575/17.04, allocations: 2.645 MB / 4.108 GB, free: 72.37 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/17.05, allocations: 0.7905 MB / 4.108 GB, free: 72.12 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005919/17.05, allocations: 60.77 kB / 4.109 GB, free: 72.12 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003554/17.05, allocations: 424.8 kB / 4.109 GB, free: 71.81 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00796/17.05, allocations: 1.523 MB / 4.11 GB, free: 71.8 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009609/17.06, allocations: 2.509 MB / 4.113 GB, free: 70.75 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008837/17.07, allocations: 1.786 MB / 4.115 GB, free: 70.67 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.376e-05/17.07, allocations: 5.469 kB / 4.115 GB, free: 70.67 MB / 1.073 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.02406/17.1, allocations: 4.572 MB / 4.119 GB, free: 70.22 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002184/17.1, allocations: 9.065 MB / 4.128 GB, free: 60.76 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/17.1, allocations: 24.11 kB / 4.128 GB, free: 60.76 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/17.1, allocations: 37.22 kB / 4.128 GB, free: 60.76 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/17.11, allocations: 0.9498 MB / 4.129 GB, free: 60.75 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/17.11, allocations: 5.41 MB / 4.134 GB, free: 55.49 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/17.12, allocations: 0.5145 MB / 4.135 GB, free: 55.47 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/17.13, allocations: 162.6 kB / 4.135 GB, free: 55.47 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/17.13, allocations: 4.719 kB / 4.135 GB, free: 55.47 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01939/17.15, allocations: 4.025 MB / 4.139 GB, free: 55.35 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/17.15, allocations: 25.02 kB / 4.139 GB, free: 55.35 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/17.15, allocations: 35.69 kB / 4.139 GB, free: 55.35 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007909/17.15, allocations: 0.8807 MB / 4.14 GB, free: 55.35 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-05/17.15, allocations: 47.55 kB / 4.14 GB, free: 55.35 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/17.16, allocations: 0.5091 MB / 4.14 GB, free: 55.34 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/17.17, allocations: 162.3 kB / 4.14 GB, free: 55.34 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.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,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 365 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006392/17.17, allocations: 1.223 MB / 4.142 GB, free: 55.12 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002595/17.17, allocations: 0.5704 MB / 4.142 GB, free: 54.82 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/17.2, allocations: 4.368 MB / 4.146 GB, free: 54.56 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-05/17.2, allocations: 36.73 kB / 4.146 GB, free: 54.55 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/17.2, allocations: 0 / 4.146 GB, free: 54.55 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01628/17.21, allocations: 3.354 MB / 4.15 GB, free: 54.28 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03778/17.25, allocations: 9.126 MB / 4.159 GB, free: 53.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/17.25, allocations: 3.062 kB / 4.159 GB, free: 53.64 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007143/17.26, allocations: 0.7001 MB / 4.159 GB, free: 53.64 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.378e-05/17.26, allocations: 19.61 kB / 4.159 GB, free: 53.64 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008416/17.26, allocations: 88.8 kB / 4.159 GB, free: 53.64 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/17.26, allocations: 5.356 MB / 4.165 GB, free: 48.37 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/17.26, allocations: 2 kB / 4.165 GB, free: 48.37 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/17.29, allocations: 6.387 MB / 4.171 GB, free: 47.29 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005266/17.29, allocations: 1.189 MB / 4.172 GB, free: 46.88 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002555/17.29, allocations: 65.38 kB / 4.172 GB, free: 46.88 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009244/17.3, allocations: 474.1 kB / 4.173 GB, free: 46.87 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009145/17.31, allocations: 181.2 kB / 4.173 GB, free: 46.86 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000672/17.31, allocations: 121.1 kB / 4.173 GB, free: 46.86 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01187/17.32, allocations: 3.504 MB / 4.176 GB, free: 46.64 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.21e-07/17.32, allocations: 0 / 4.176 GB, free: 46.64 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01667/17.33, allocations: 2.808 MB / 4.179 GB, free: 46.55 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,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 (277): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03364/17.37, allocations: 9.828 MB / 4.189 GB, free: 43.93 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02693/17.4, allocations: 6.249 MB / 4.195 GB, free: 43.52 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/17.4, allocations: 7.422 kB / 4.195 GB, free: 43.52 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00857/17.4, allocations: 1.929 MB / 4.197 GB, free: 43.45 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02576/17.43, allocations: 2.913 MB / 4.199 GB, free: 43.41 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0498/17.48, allocations: 27.58 MB / 4.226 GB, free: 23.46 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006924/17.49, allocations: 2.967 MB / 4.229 GB, free: 22.59 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01447/17.5, allocations: 1.273 MB / 4.231 GB, free: 22.4 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007976/17.51, allocations: 2.575 MB / 4.233 GB, free: 22.39 MB / 1.073 GB Notification: Performance of SimCode: time 1.252e-06/17.51, allocations: 3.125 kB / 4.233 GB, free: 22.39 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4045/17.91, allocations: 176.8 MB / 4.406 GB, free: 10.95 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/17.91, allocations: 308.3 kB / 4.406 GB, free: 10.59 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/30.68, allocations: 0 / 4.406 GB, free: 10.59 MB / 1.073 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)