Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 249.3 MB / 261.8 MB, free: 5.902 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.001027/0.001027, allocations: 182.2 kB / 321.3 MB, free: 14.65 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.624/1.624, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0008582/0.0008584, allocations: 93.44 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.987e-05, allocations: 7.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.711/1.945, allocations: 443.8 MB / 1.325 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.945, allocations: 107.3 kB / 1.325 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.5/12.44, allocations: 2.541 GB / 3.866 GB, free: 62.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.034e-06/12.44, allocations: 2.312 kB / 3.866 GB, free: 62.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001223/12.44, allocations: 168.9 kB / 3.866 GB, free: 62.77 MB / 0.9948 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.46, allocations: 5.787 MB / 3.872 GB, free: 60.24 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/12.46, allocations: 7.531 kB / 3.872 GB, free: 60.24 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002084/12.46, allocations: 0.4982 MB / 3.872 GB, free: 60.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008065/12.47, allocations: 1.355 MB / 3.874 GB, free: 59.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/12.49, allocations: 6.548 MB / 3.88 GB, free: 58.85 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00215/12.49, allocations: 0.6883 MB / 3.881 GB, free: 58.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/12.5, allocations: 419.6 kB / 3.881 GB, free: 58.83 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/12.51, allocations: 4.461 MB / 3.885 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.933e-05/12.51, allocations: 2.812 kB / 3.885 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/12.51, allocations: 161.8 kB / 3.886 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.499e-05/12.51, allocations: 98.69 kB / 3.886 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006992/12.51, allocations: 3.635 MB / 3.889 GB, free: 58.23 MB / 0.9948 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.04243/12.56, allocations: 22.24 MB / 3.911 GB, free: 49.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003968/12.56, allocations: 2.233 MB / 3.913 GB, free: 48.97 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/12.56, allocations: 1.222 MB / 3.914 GB, free: 48.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/12.56, allocations: 1.912 MB / 3.916 GB, free: 46.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00256/12.57, allocations: 1.436 MB / 3.918 GB, free: 46.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00394/12.57, allocations: 0.4913 MB / 3.918 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=233): time 1.383e-05/12.57, allocations: 0 / 3.918 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=233): time 0.006127/12.58, allocations: 2.817 MB / 3.921 GB, free: 46.21 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/12.58, allocations: 499.5 kB / 3.921 GB, free: 45.65 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008326/12.58, allocations: 4.499 MB / 3.926 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009867/12.59, allocations: 87.03 kB / 3.926 GB, free: 45.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/12.59, allocations: 2.636 MB / 3.928 GB, free: 44.56 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/12.59, allocations: 0.7958 MB / 3.929 GB, free: 44.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/12.59, allocations: 61.28 kB / 3.929 GB, free: 44.05 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002094/12.59, allocations: 428.7 kB / 3.93 GB, free: 43.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/12.59, allocations: 1.163 MB / 3.931 GB, free: 43.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/12.59, allocations: 2.154 MB / 3.933 GB, free: 42.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/12.6, allocations: 1.437 MB / 3.934 GB, free: 42.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/12.6, allocations: 2.719 kB / 3.934 GB, free: 42.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.007347/12.6, allocations: 3.841 MB / 3.938 GB, free: 42.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00194/12.61, allocations: 9.06 MB / 3.947 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.608e-05/12.61, allocations: 25.77 kB / 3.947 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/12.61, allocations: 35.72 kB / 3.947 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005209/12.61, allocations: 0.9492 MB / 3.948 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/12.61, allocations: 5.401 MB / 3.953 GB, free: 27.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006899/12.62, allocations: 0.5238 MB / 3.954 GB, free: 27.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009401/12.62, allocations: 164.3 kB / 3.954 GB, free: 27.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/12.62, allocations: 5.531 kB / 3.954 GB, free: 27.35 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006061/12.63, allocations: 3.294 MB / 3.957 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/12.63, allocations: 25.11 kB / 3.957 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.84e-05/12.63, allocations: 38.47 kB / 3.957 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/12.63, allocations: 0.8769 MB / 3.958 GB, free: 27.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.177e-05/12.63, allocations: 42.73 kB / 3.958 GB, free: 27.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006657/12.64, allocations: 0.5192 MB / 3.958 GB, free: 27.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008983/12.64, allocations: 157.2 kB / 3.959 GB, free: 27.14 MB / 0.9948 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.001043/12.64, allocations: 337.9 kB / 3.959 GB, free: 26.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/12.64, allocations: 0.5745 MB / 3.96 GB, free: 26.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007803/12.65, allocations: 3.656 MB / 3.963 GB, free: 26.37 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/12.65, allocations: 29.94 kB / 3.963 GB, free: 26.37 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/12.65, allocations: 0 / 3.963 GB, free: 26.37 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004068/12.65, allocations: 2.651 MB / 3.966 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/12.67, allocations: 8.384 MB / 3.974 GB, free: 25.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/12.67, allocations: 3.156 kB / 3.974 GB, free: 25.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0033/12.68, allocations: 0.7061 MB / 3.975 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-05/12.68, allocations: 8.594 kB / 3.975 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/12.68, allocations: 85.88 kB / 3.975 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/12.68, allocations: 5.354 MB / 3.98 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/12.68, allocations: 2.969 kB / 3.98 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008719/12.69, allocations: 5.317 MB / 3.985 GB, free: 18.97 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004196/12.69, allocations: 1.184 MB / 3.986 GB, free: 18.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002147/12.69, allocations: 65.77 kB / 3.986 GB, free: 18.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005759/12.7, allocations: 477.1 kB / 3.987 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/12.7, allocations: 176 kB / 3.987 GB, free: 18.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003936/12.7, allocations: 120.1 kB / 3.987 GB, free: 18.49 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007699/12.71, allocations: 3.415 MB / 3.99 GB, free: 18.24 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.01e-07/12.71, allocations: 3.188 kB / 3.99 GB, free: 18.24 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01579/12.72, allocations: 2.798 MB / 3.993 GB, free: 17.93 MB / 0.9948 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.01503/12.74, allocations: 8.746 MB / 4.002 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01145/12.75, allocations: 5.389 MB / 4.007 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/12.75, allocations: 3.562 kB / 4.007 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002796/12.75, allocations: 1.574 MB / 4.008 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01676/12.77, allocations: 2.917 MB / 4.011 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/12.8, allocations: 8.898 MB / 4.02 GB, free: 27.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/12.8, allocations: 2.964 MB / 4.023 GB, free: 26.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01052/12.81, allocations: 1.592 MB / 4.024 GB, free: 26.22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004214/12.82, allocations: 2.464 MB / 4.027 GB, free: 26.21 MB / 1.01 GB Notification: Performance of SimCode: time 2.655e-06/12.82, allocations: 2.531 kB / 4.027 GB, free: 26.21 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.251/14.07, allocations: 184 MB / 4.207 GB, free: 90.71 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/14.07, allocations: 293.3 kB / 4.207 GB, free: 90.38 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/25.52, allocations: 0 / 4.207 GB, free: 90.38 MB / 1.026 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)