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.724/1.724, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001342/0.001342, allocations: 181.8 kB / 371.6 MB, free: 3.379 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.879/1.879, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009931/0.0009933, allocations: 93.09 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.432e-05/4.433e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.076/2.377, allocations: 452.6 MB / 1.422 GB, free: 290.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/2.377, allocations: 106.3 kB / 1.422 GB, free: 290.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.22/12.6, allocations: 2.614 GB / 4.036 GB, free: 16.79 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.385e-06/12.6, allocations: 0 / 4.036 GB, free: 16.79 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001555/12.6, allocations: 175.8 kB / 4.036 GB, free: 16.61 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.01977/12.62, allocations: 5.794 MB / 4.042 GB, free: 10.75 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/12.62, allocations: 8.031 kB / 4.042 GB, free: 10.74 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002459/12.63, allocations: 0.4975 MB / 4.042 GB, free: 10.24 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007677/12.63, allocations: 1.354 MB / 4.043 GB, free: 8.875 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/12.65, allocations: 6.522 MB / 4.05 GB, free: 2.309 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002098/12.66, allocations: 0.6876 MB / 4.05 GB, free: 1.621 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/12.66, allocations: 416.2 kB / 4.051 GB, free: 1.215 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/12.67, allocations: 4.487 MB / 4.055 GB, free: 12.55 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.813e-05/12.67, allocations: 7.938 kB / 4.055 GB, free: 12.54 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005762/12.67, allocations: 156 kB / 4.055 GB, free: 12.39 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/12.67, allocations: 96 kB / 4.055 GB, free: 12.3 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008818/12.68, allocations: 3.644 MB / 4.059 GB, free: 8.648 MB / 1.073 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 1.064/13.74, allocations: 22.3 MB / 4.081 GB, free: 49.37 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005364/13.75, allocations: 2.241 MB / 4.083 GB, free: 49.04 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/13.75, allocations: 1.22 MB / 4.084 GB, free: 49.03 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/13.76, allocations: 1.921 MB / 4.086 GB, free: 46.96 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003949/13.76, allocations: 1.447 MB / 4.087 GB, free: 46.85 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005866/13.77, allocations: 0.491 MB / 4.088 GB, free: 46.83 MB / 1.073 GB Notification: Performance of pre-optimization done (n=233): time 2.978e-05/13.77, allocations: 1.062 kB / 4.088 GB, free: 46.83 MB / 1.073 GB Notification: Performance of matching and sorting (n=233): time 0.008993/13.77, allocations: 2.842 MB / 4.091 GB, free: 46.42 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/13.77, allocations: 498.7 kB / 4.091 GB, free: 45.86 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/13.79, allocations: 4.522 MB / 4.096 GB, free: 45.47 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/13.79, allocations: 86.92 kB / 4.096 GB, free: 45.44 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003555/13.79, allocations: 2.654 MB / 4.098 GB, free: 44.94 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/13.79, allocations: 0.7905 MB / 4.099 GB, free: 44.54 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/13.79, allocations: 61.06 kB / 4.099 GB, free: 44.54 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002216/13.79, allocations: 421.9 kB / 4.1 GB, free: 44.23 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/13.8, allocations: 1.168 MB / 4.101 GB, free: 44.22 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/13.8, allocations: 2.157 MB / 4.103 GB, free: 43.16 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/13.8, allocations: 1.448 MB / 4.104 GB, free: 43.07 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/13.8, allocations: 6.281 kB / 4.104 GB, free: 43.07 MB / 1.073 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.009558/13.81, allocations: 3.866 MB / 4.108 GB, free: 42.62 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002046/13.81, allocations: 9.063 MB / 4.117 GB, free: 33.15 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.584e-05/13.81, allocations: 21.69 kB / 4.117 GB, free: 33.15 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.292e-05/13.81, allocations: 36.91 kB / 4.117 GB, free: 33.15 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/13.82, allocations: 0.9462 MB / 4.118 GB, free: 33.15 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/13.82, allocations: 5.413 MB / 4.123 GB, free: 43.89 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008269/13.83, allocations: 0.5156 MB / 4.124 GB, free: 43.88 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/13.83, allocations: 163 kB / 4.124 GB, free: 43.88 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/13.83, allocations: 6.453 kB / 4.124 GB, free: 43.87 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007817/13.84, allocations: 3.326 MB / 4.127 GB, free: 43.75 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-05/13.84, allocations: 23.39 kB / 4.127 GB, free: 43.75 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.695e-05/13.84, allocations: 36.47 kB / 4.127 GB, free: 43.75 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/13.84, allocations: 0.8772 MB / 4.128 GB, free: 43.75 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.2e-05/13.85, allocations: 43.75 kB / 4.128 GB, free: 43.75 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0079/13.85, allocations: 0.5131 MB / 4.128 GB, free: 43.73 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009643/13.85, allocations: 160.3 kB / 4.129 GB, free: 43.73 MB / 1.089 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.001397/13.86, allocations: 332.7 kB / 4.129 GB, free: 43.6 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002497/13.86, allocations: 0.573 MB / 4.129 GB, free: 43.29 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009411/13.87, allocations: 3.668 MB / 4.133 GB, free: 43.03 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/13.87, allocations: 35 kB / 4.133 GB, free: 43.03 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/13.87, allocations: 2.188 kB / 4.133 GB, free: 43.03 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004457/13.87, allocations: 2.656 MB / 4.136 GB, free: 42.75 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/13.89, allocations: 8.435 MB / 4.144 GB, free: 42.11 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/13.89, allocations: 2.281 kB / 4.144 GB, free: 42.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/13.9, allocations: 0.7051 MB / 4.145 GB, free: 42.11 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.668e-05/13.9, allocations: 12.75 kB / 4.145 GB, free: 42.11 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/13.9, allocations: 83.91 kB / 4.145 GB, free: 42.11 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/13.9, allocations: 5.349 MB / 4.15 GB, free: 36.85 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/13.9, allocations: 3.5 kB / 4.15 GB, free: 36.85 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/13.91, allocations: 5.343 MB / 4.155 GB, free: 35.77 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005471/13.92, allocations: 1.188 MB / 4.156 GB, free: 35.36 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/13.92, allocations: 65.19 kB / 4.156 GB, free: 35.36 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007105/13.93, allocations: 476.7 kB / 4.157 GB, free: 35.35 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006588/13.93, allocations: 179.9 kB / 4.157 GB, free: 35.34 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007102/13.93, allocations: 124.7 kB / 4.157 GB, free: 35.34 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01122/13.94, allocations: 3.437 MB / 4.16 GB, free: 35.1 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.11e-07/13.94, allocations: 0 / 4.16 GB, free: 35.1 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01577/13.95, allocations: 2.807 MB / 4.163 GB, free: 35 MB / 1.089 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.01876/13.97, allocations: 8.775 MB / 4.172 GB, free: 32.33 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01493/13.99, allocations: 5.398 MB / 4.177 GB, free: 31.89 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/13.99, allocations: 2.906 kB / 4.177 GB, free: 31.89 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.004229/13.99, allocations: 1.589 MB / 4.179 GB, free: 31.81 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01999/14.01, allocations: 2.921 MB / 4.181 GB, free: 31.75 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03164/14.04, allocations: 8.98 MB / 4.19 GB, free: 29.68 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/14.05, allocations: 2.973 MB / 4.193 GB, free: 28.88 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01183/14.06, allocations: 1.599 MB / 4.195 GB, free: 28.82 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004323/14.06, allocations: 2.475 MB / 4.197 GB, free: 28.81 MB / 1.089 GB Notification: Performance of SimCode: time 1.944e-06/14.06, allocations: 0 / 4.197 GB, free: 28.81 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.299/14.36, allocations: 184.8 MB / 4.378 GB, free: 17.64 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/14.36, allocations: 275.7 kB / 4.378 GB, free: 17.31 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/25.42, allocations: 3.906 kB / 4.378 GB, free: 17.3 MB / 1.089 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)