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.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.938 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.001099/0.001099, allocations: 176.9 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.00101/0.00101, allocations: 96.64 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.979e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.612/1.838, allocations: 444.1 MB / 1.319 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.838, allocations: 103 kB / 1.319 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.547/11.38, allocations: 2.528 GB / 3.847 GB, free: 70.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/11.38, allocations: 0 / 3.847 GB, free: 70.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001112/11.39, allocations: 167.5 kB / 3.847 GB, free: 70.17 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.01721/11.4, allocations: 5.776 MB / 3.853 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/11.4, allocations: 12 kB / 3.853 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007005/11.41, allocations: 1.355 MB / 3.854 GB, free: 67.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/11.43, allocations: 6.542 MB / 3.861 GB, free: 66.31 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001923/11.43, allocations: 0.5439 MB / 3.861 GB, free: 66.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/11.43, allocations: 239.2 kB / 3.861 GB, free: 66.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007668/11.44, allocations: 3.458 MB / 3.865 GB, free: 66.29 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006747/11.44, allocations: 3.904 MB / 3.869 GB, free: 65.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/11.44, allocations: 1.594 kB / 3.869 GB, free: 65.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/11.44, allocations: 7.438 kB / 3.869 GB, free: 65.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.256e-05/11.44, allocations: 100.7 kB / 3.869 GB, free: 65.73 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.03465/11.48, allocations: 21.43 MB / 3.89 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/11.48, allocations: 2.181 MB / 3.892 GB, free: 56.64 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/11.48, allocations: 1.169 MB / 3.893 GB, free: 56.62 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/11.49, allocations: 1.918 MB / 3.895 GB, free: 54.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/11.49, allocations: 1.367 MB / 3.896 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003305/11.49, allocations: 368.4 kB / 3.896 GB, free: 54.35 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=233): time 8.245e-06/11.49, allocations: 0 / 3.896 GB, free: 54.35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=233): time 0.007392/11.5, allocations: 2.905 MB / 3.899 GB, free: 54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/11.5, allocations: 495.8 kB / 3.9 GB, free: 53.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/11.51, allocations: 3.673 MB / 3.903 GB, free: 53.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009274/11.51, allocations: 33.14 kB / 3.903 GB, free: 53.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003122/11.51, allocations: 2.671 MB / 3.906 GB, free: 52.28 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/11.51, allocations: 0.7619 MB / 3.907 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/11.51, allocations: 0 / 3.907 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001624/11.51, allocations: 425.1 kB / 3.907 GB, free: 51.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/11.51, allocations: 1.12 MB / 3.908 GB, free: 51.45 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/11.52, allocations: 2.085 MB / 3.91 GB, free: 50.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/11.52, allocations: 1.61 MB / 3.912 GB, free: 50.34 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/11.52, allocations: 3.25 kB / 3.912 GB, free: 50.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.008153/11.53, allocations: 3.781 MB / 3.916 GB, free: 49.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001965/11.53, allocations: 8.767 MB / 3.924 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.833e-05/11.53, allocations: 25.23 kB / 3.924 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.131e-05/11.53, allocations: 35.25 kB / 3.924 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/11.54, allocations: 0.9646 MB / 3.925 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/11.54, allocations: 5.463 MB / 3.93 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006327/11.54, allocations: 438.6 kB / 3.931 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008108/11.54, allocations: 167 kB / 3.931 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/11.54, allocations: 10.64 kB / 3.931 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006978/11.55, allocations: 3.188 MB / 3.934 GB, free: 35.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/11.55, allocations: 23.53 kB / 3.934 GB, free: 35.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/11.55, allocations: 34.78 kB / 3.934 GB, free: 35.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/11.56, allocations: 0.8799 MB / 3.935 GB, free: 35.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/11.56, allocations: 45.11 kB / 3.935 GB, free: 35.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/11.56, allocations: 430.6 kB / 3.936 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/11.56, allocations: 157.8 kB / 3.936 GB, free: 35.36 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.0008485/11.56, allocations: 228.5 kB / 3.936 GB, free: 35.2 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006999/11.57, allocations: 2.864 MB / 3.939 GB, free: 34.85 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/11.57, allocations: 0.5101 MB / 3.939 GB, free: 34.58 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008598/11.58, allocations: 3.592 MB / 3.943 GB, free: 34.31 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/11.58, allocations: 33.86 kB / 3.943 GB, free: 34.31 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/11.58, allocations: 0 / 3.943 GB, free: 34.31 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005297/11.58, allocations: 2.686 MB / 3.945 GB, free: 34.06 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/11.6, allocations: 7.933 MB / 3.953 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/11.6, allocations: 11.28 kB / 3.953 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/11.6, allocations: 0.7099 MB / 3.954 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/11.6, allocations: 11.12 kB / 3.954 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/11.6, allocations: 51.12 kB / 3.954 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/11.61, allocations: 5.359 MB / 3.959 GB, free: 28.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/11.61, allocations: 3.938 kB / 3.959 GB, free: 28.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009859/11.62, allocations: 5.222 MB / 3.964 GB, free: 27.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003243/11.62, allocations: 1.113 MB / 3.965 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/11.62, allocations: 17.55 kB / 3.965 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004159/11.62, allocations: 433.7 kB / 3.966 GB, free: 26.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/11.62, allocations: 176.7 kB / 3.966 GB, free: 26.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003255/11.63, allocations: 124.7 kB / 3.966 GB, free: 26.72 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006212/11.63, allocations: 2.711 MB / 3.969 GB, free: 26.54 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.9e-07/11.63, allocations: 0 / 3.969 GB, free: 26.54 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01358/11.65, allocations: 2.774 MB / 3.971 GB, free: 26.12 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.01365/11.66, allocations: 8.687 MB / 3.98 GB, free: 23.04 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008749/11.67, allocations: 5.139 MB / 3.985 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/11.67, allocations: 3.562 kB / 3.985 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/11.67, allocations: 1.525 MB / 3.986 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01177/11.68, allocations: 2.316 MB / 3.989 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/11.71, allocations: 8.533 MB / 3.997 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/11.71, allocations: 2.959 MB / 4 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.007961/11.72, allocations: 1.46 MB / 4.001 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003221/11.72, allocations: 2.458 MB / 4.004 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of SimCode: time 1.152e-06/11.72, allocations: 0 / 4.004 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9773/12.7, allocations: 152.2 MB / 4.152 GB, free: 96.1 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/12.7, allocations: 235.1 kB / 4.153 GB, free: 95.82 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/21.4, allocations: 4 kB / 4.153 GB, free: 95.81 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)