Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 188.5 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.921/1.921, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 97.62 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.421e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.315, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.489/1.804, allocations: 449.9 MB / 1.645 GB, free: 4.676 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.804, allocations: 101.4 kB / 1.646 GB, free: 4.617 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 11.3/13.11, allocations: 2.645 GB / 4.29 GB, free: 81.55 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.844e-06/13.11, allocations: 0 / 4.29 GB, free: 81.55 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001659/13.11, allocations: 164.8 kB / 4.29 GB, free: 81.52 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.02467/13.13, allocations: 5.732 MB / 4.296 GB, free: 78.76 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/13.13, allocations: 10.28 kB / 4.296 GB, free: 78.76 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/13.14, allocations: 1.352 MB / 4.297 GB, free: 78.39 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02719/13.17, allocations: 6.412 MB / 4.304 GB, free: 77.34 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002695/13.17, allocations: 0.5466 MB / 4.304 GB, free: 77.31 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/13.18, allocations: 250.9 kB / 4.304 GB, free: 77.3 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01236/13.19, allocations: 3.456 MB / 4.308 GB, free: 77.29 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/13.2, allocations: 3.826 MB / 4.312 GB, free: 76.8 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/13.2, allocations: 3.312 kB / 4.312 GB, free: 76.8 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006168/13.2, allocations: 6.781 kB / 4.312 GB, free: 76.8 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/13.2, allocations: 143 kB / 4.312 GB, free: 76.79 MB / 1.245 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.04655/13.25, allocations: 21.53 MB / 4.333 GB, free: 67.72 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/13.25, allocations: 2.211 MB / 4.335 GB, free: 67.39 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/13.25, allocations: 1.186 MB / 4.336 GB, free: 67.38 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/13.26, allocations: 1.914 MB / 4.338 GB, free: 65.31 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002143/13.26, allocations: 1.385 MB / 4.339 GB, free: 65.2 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003728/13.26, allocations: 377.5 kB / 4.34 GB, free: 65.07 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 7.194e-06/13.26, allocations: 0 / 4.34 GB, free: 65.07 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.00747/13.27, allocations: 2.924 MB / 4.342 GB, free: 64.72 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/13.27, allocations: 261.7 kB / 4.343 GB, free: 64.43 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/13.28, allocations: 3.692 MB / 4.346 GB, free: 64.12 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/13.28, allocations: 32.67 kB / 4.346 GB, free: 64.09 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.003065/13.28, allocations: 2.646 MB / 4.349 GB, free: 63.29 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/13.28, allocations: 0.7701 MB / 4.35 GB, free: 62.77 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/13.28, allocations: 0 / 4.35 GB, free: 62.77 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0003257/13.28, allocations: 423.5 kB / 4.35 GB, free: 62.46 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/13.29, allocations: 1.096 MB / 4.351 GB, free: 62.45 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/13.29, allocations: 1.988 MB / 4.353 GB, free: 61.43 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/13.29, allocations: 1.575 MB / 4.355 GB, free: 61.33 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/13.29, allocations: 4.938 kB / 4.355 GB, free: 61.33 MB / 1.245 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.008719/13.3, allocations: 3.7 MB / 4.358 GB, free: 60.86 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001886/13.3, allocations: 8.747 MB / 4.367 GB, free: 51.65 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/13.3, allocations: 18.81 kB / 4.367 GB, free: 51.65 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-05/13.3, allocations: 38.89 kB / 4.367 GB, free: 51.65 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005501/13.31, allocations: 0.9941 MB / 4.368 GB, free: 51.59 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/13.31, allocations: 5.473 MB / 4.373 GB, free: 46.28 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007326/13.32, allocations: 429.3 kB / 4.374 GB, free: 46.23 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/13.32, allocations: 156.4 kB / 4.374 GB, free: 46.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/13.32, allocations: 3.656 kB / 4.374 GB, free: 46.2 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007639/13.33, allocations: 3.123 MB / 4.377 GB, free: 45.03 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/13.33, allocations: 18.03 kB / 4.377 GB, free: 45.03 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/13.33, allocations: 41.03 kB / 4.377 GB, free: 45.03 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/13.33, allocations: 0.9104 MB / 4.378 GB, free: 44.94 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.521e-05/13.33, allocations: 48.95 kB / 4.378 GB, free: 44.93 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006231/13.34, allocations: 420.9 kB / 4.378 GB, free: 44.88 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006364/13.34, allocations: 158.1 kB / 4.378 GB, free: 44.85 MB / 1.245 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 (378): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.34, allocations: 223.3 kB / 4.379 GB, free: 44.65 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008735/13.35, allocations: 2.881 MB / 4.381 GB, free: 43.5 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/13.35, allocations: 0.5044 MB / 4.382 GB, free: 43.23 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/13.36, allocations: 3.625 MB / 4.385 GB, free: 41.86 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/13.36, allocations: 41.61 kB / 4.385 GB, free: 41.86 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/13.36, allocations: 0 / 4.385 GB, free: 41.86 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006192/13.37, allocations: 2.718 MB / 4.388 GB, free: 40.74 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/13.39, allocations: 8.073 MB / 4.396 GB, free: 37.25 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/13.4, allocations: 3.562 kB / 4.396 GB, free: 37.25 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003845/13.4, allocations: 0.7104 MB / 4.397 GB, free: 37.18 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.493e-05/13.4, allocations: 15.3 kB / 4.397 GB, free: 37.18 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006168/13.4, allocations: 59.52 kB / 4.397 GB, free: 37.16 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/13.4, allocations: 5.356 MB / 4.402 GB, free: 31.79 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/13.4, allocations: 12.3 kB / 4.402 GB, free: 31.79 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/13.41, allocations: 5.244 MB / 4.407 GB, free: 29.11 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004668/13.42, allocations: 1.153 MB / 4.408 GB, free: 28.36 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002587/13.42, allocations: 10.81 kB / 4.408 GB, free: 28.36 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007163/13.43, allocations: 430 kB / 4.409 GB, free: 28.3 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008513/13.43, allocations: 176.4 kB / 4.409 GB, free: 28.28 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008325/13.43, allocations: 130.3 kB / 4.409 GB, free: 28.25 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.008441/13.44, allocations: 2.737 MB / 4.412 GB, free: 27.11 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.11e-07/13.44, allocations: 0 / 4.412 GB, free: 27.11 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.01772/13.46, allocations: 2.739 MB / 4.414 GB, free: 26.54 MB / 1.245 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.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.s[1],hex2.thrWayVal.filter.s[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.s[1],hex3.thrWayVal.filter.s[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 (280): * Single equations (assignments): 256 * 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.01943/13.48, allocations: 8.653 MB / 4.423 GB, free: 21.82 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01123/13.49, allocations: 4.903 MB / 4.428 GB, free: 18.01 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/13.49, allocations: 2.812 kB / 4.428 GB, free: 18.01 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/13.49, allocations: 1.531 MB / 4.429 GB, free: 16.54 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01439/13.51, allocations: 2.28 MB / 4.431 GB, free: 14.96 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/13.54, allocations: 8.582 MB / 4.44 GB, free: 7.246 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004151/13.54, allocations: 2.947 MB / 4.443 GB, free: 5.102 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01142/13.55, allocations: 1.46 MB / 4.444 GB, free: 4.145 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004635/13.56, allocations: 2.432 MB / 4.446 GB, free: 1.914 MB / 1.245 GB Notification: Performance of SimCode: time 7.91e-07/13.56, allocations: 0 / 4.446 GB, free: 1.914 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.324/14.88, allocations: 150.5 MB / 4.593 GB, free: 107.2 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/14.88, allocations: 241.4 kB / 4.594 GB, free: 106.9 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.474/24.35, allocations: 2.812 kB / 4.594 GB, free: 106.9 MB / 1.276 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat does not exist to compare? outputFormat=mat