Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001461/0.001461, allocations: 184.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.2 MB / 0.626 GB, free: 7.105 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 95.02 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.244e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7935, allocations: 116.3 MB / 0.9734 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/2.046, allocations: 452 MB / 1.415 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/2.047, allocations: 110.2 kB / 1.415 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.81/12.86, allocations: 2.601 GB / 4.016 GB, free: 69.88 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.583e-06/12.86, allocations: 0 / 4.016 GB, free: 69.88 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001299/12.86, allocations: 172 kB / 4.016 GB, free: 69.85 MB / 1.057 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.02233/12.88, allocations: 5.799 MB / 4.022 GB, free: 67.37 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/12.88, allocations: 9.25 kB / 4.022 GB, free: 67.37 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008796/12.89, allocations: 1.353 MB / 4.023 GB, free: 67 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/12.91, allocations: 6.525 MB / 4.029 GB, free: 66.04 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002101/12.91, allocations: 0.5422 MB / 4.03 GB, free: 66.04 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/12.91, allocations: 239.6 kB / 4.03 GB, free: 66.04 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009555/12.92, allocations: 3.465 MB / 4.034 GB, free: 66.02 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/12.93, allocations: 3.925 MB / 4.037 GB, free: 65.46 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.843e-05/12.93, allocations: 11.61 kB / 4.037 GB, free: 65.45 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005638/12.93, allocations: 7.562 kB / 4.037 GB, free: 65.45 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.424e-05/12.93, allocations: 94.19 kB / 4.038 GB, free: 65.45 MB / 1.057 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.03989/12.97, allocations: 21.5 MB / 4.059 GB, free: 56.71 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/12.98, allocations: 2.191 MB / 4.061 GB, free: 56.39 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/12.98, allocations: 1.182 MB / 4.062 GB, free: 56.38 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/12.98, allocations: 1.916 MB / 4.064 GB, free: 54.31 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002359/12.98, allocations: 1.377 MB / 4.065 GB, free: 54.21 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004096/12.99, allocations: 375.5 kB / 4.065 GB, free: 54.1 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 9.037e-06/12.99, allocations: 0 / 4.065 GB, free: 54.1 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.008024/13, allocations: 2.917 MB / 4.068 GB, free: 53.74 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/13, allocations: 499 kB / 4.069 GB, free: 53.18 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00798/13, allocations: 3.696 MB / 4.072 GB, free: 52.86 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/13, allocations: 31.61 kB / 4.072 GB, free: 52.82 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002878/13.01, allocations: 2.686 MB / 4.075 GB, free: 52.02 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/13.01, allocations: 0.763 MB / 4.076 GB, free: 51.51 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/13.01, allocations: 2.656 kB / 4.076 GB, free: 51.51 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001661/13.01, allocations: 423.2 kB / 4.076 GB, free: 51.2 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/13.01, allocations: 1.133 MB / 4.077 GB, free: 51.2 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/13.01, allocations: 2.093 MB / 4.079 GB, free: 50.14 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/13.02, allocations: 1.612 MB / 4.081 GB, free: 50.09 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/13.02, allocations: 6.531 kB / 4.081 GB, free: 50.09 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.009538/13.03, allocations: 3.797 MB / 4.085 GB, free: 49.7 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0021/13.03, allocations: 8.786 MB / 4.093 GB, free: 40.55 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.173e-05/13.03, allocations: 22.92 kB / 4.093 GB, free: 40.55 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-05/13.03, allocations: 41.73 kB / 4.093 GB, free: 40.55 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00583/13.04, allocations: 0.9627 MB / 4.094 GB, free: 40.55 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/13.04, allocations: 5.466 MB / 4.1 GB, free: 35.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008001/13.05, allocations: 440.9 kB / 4.1 GB, free: 35.26 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/13.05, allocations: 164.2 kB / 4.1 GB, free: 35.26 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/13.05, allocations: 2.969 kB / 4.1 GB, free: 35.26 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007652/13.06, allocations: 3.215 MB / 4.103 GB, free: 35.17 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/13.06, allocations: 26.22 kB / 4.103 GB, free: 35.17 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/13.06, allocations: 38.83 kB / 4.103 GB, free: 35.17 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/13.06, allocations: 0.878 MB / 4.104 GB, free: 35.17 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.938e-05/13.06, allocations: 44.09 kB / 4.104 GB, free: 35.17 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006288/13.07, allocations: 423.4 kB / 4.105 GB, free: 35.15 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000582/13.07, allocations: 161.5 kB / 4.105 GB, free: 35.15 MB / 1.057 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 () * 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.001204/13.07, allocations: 226.3 kB / 4.105 GB, free: 35 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008875/13.08, allocations: 2.87 MB / 4.108 GB, free: 34.64 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002629/13.08, allocations: 0.5163 MB / 4.108 GB, free: 34.37 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009973/13.09, allocations: 3.604 MB / 4.112 GB, free: 34.13 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/13.09, allocations: 30.97 kB / 4.112 GB, free: 34.13 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/13.09, allocations: 0 / 4.112 GB, free: 34.13 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005411/13.09, allocations: 2.701 MB / 4.114 GB, free: 33.88 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/13.12, allocations: 7.985 MB / 4.122 GB, free: 33.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/13.12, allocations: 3.953 kB / 4.122 GB, free: 33.31 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/13.12, allocations: 0.7057 MB / 4.123 GB, free: 33.31 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-05/13.12, allocations: 11.72 kB / 4.123 GB, free: 33.31 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/13.12, allocations: 59.95 kB / 4.123 GB, free: 33.31 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/13.12, allocations: 5.361 MB / 4.128 GB, free: 28.05 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/13.12, allocations: 6.375 kB / 4.128 GB, free: 28.05 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/13.13, allocations: 5.241 MB / 4.133 GB, free: 27.05 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004162/13.13, allocations: 1.125 MB / 4.134 GB, free: 26.66 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/13.14, allocations: 18.22 kB / 4.135 GB, free: 26.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005711/13.14, allocations: 435.5 kB / 4.135 GB, free: 26.65 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/13.14, allocations: 171.9 kB / 4.135 GB, free: 26.64 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003774/13.14, allocations: 126.1 kB / 4.135 GB, free: 26.64 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.006301/13.15, allocations: 2.738 MB / 4.138 GB, free: 26.46 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.11e-07/13.15, allocations: 0 / 4.138 GB, free: 26.46 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01589/13.17, allocations: 2.785 MB / 4.141 GB, free: 26.04 MB / 1.057 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) * 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.01642/13.18, allocations: 8.698 MB / 4.149 GB, free: 23.06 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01186/13.19, allocations: 5.163 MB / 4.154 GB, free: 22.64 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/13.19, allocations: 4.281 kB / 4.154 GB, free: 22.64 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/13.2, allocations: 1.517 MB / 4.156 GB, free: 22.57 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/13.21, allocations: 2.334 MB / 4.158 GB, free: 22.45 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/13.24, allocations: 8.61 MB / 4.166 GB, free: 19.99 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/13.24, allocations: 2.961 MB / 4.169 GB, free: 19.12 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01086/13.25, allocations: 1.465 MB / 4.171 GB, free: 18.86 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005678/13.26, allocations: 2.474 MB / 4.173 GB, free: 18.85 MB / 1.057 GB Notification: Performance of SimCode: time 1.893e-06/13.26, allocations: 4 kB / 4.173 GB, free: 18.84 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.177/14.44, allocations: 153.1 MB / 4.323 GB, free: 99.34 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/14.44, allocations: 229.9 kB / 4.323 GB, free: 99.06 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.288/23.72, allocations: 0.5625 kB / 4.323 GB, free: 99.06 MB / 1.104 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)