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.285/2.285, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001045/0.001045, allocations: 180.3 kB / 492.3 MB, free: 0.6562 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.699/1.699, allocations: 221.3 MB / 0.7871 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 103.8 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.936e-05/5.984e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3375, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.945, allocations: 450.6 MB / 1.653 GB, free: 12.32 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/1.946, allocations: 102.2 kB / 1.653 GB, free: 12.27 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 11.95/13.89, allocations: 2.657 GB / 4.31 GB, free: 87.56 MB / 1.26 GB Notification: Performance of FrontEnd: time 1.943e-06/13.9, allocations: 0 / 4.31 GB, free: 87.56 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001559/13.9, allocations: 163.5 kB / 4.31 GB, free: 87.54 MB / 1.26 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.02179/13.92, allocations: 5.727 MB / 4.316 GB, free: 84.8 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/13.92, allocations: 13.69 kB / 4.316 GB, free: 84.8 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002454/13.92, allocations: 0.4902 MB / 4.316 GB, free: 84.74 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008273/13.93, allocations: 1.353 MB / 4.317 GB, free: 84.37 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/13.95, allocations: 6.418 MB / 4.324 GB, free: 83.31 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002199/13.95, allocations: 0.6855 MB / 4.324 GB, free: 83.3 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/13.95, allocations: 411.1 kB / 4.325 GB, free: 83.3 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/13.97, allocations: 4.387 MB / 4.329 GB, free: 82.81 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/13.97, allocations: 6.562 kB / 4.329 GB, free: 82.8 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/13.97, allocations: 158.1 kB / 4.329 GB, free: 82.8 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/13.97, allocations: 141.9 kB / 4.329 GB, free: 82.8 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009948/13.98, allocations: 3.65 MB / 4.333 GB, free: 82.74 MB / 1.26 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.04408/14.02, allocations: 22.35 MB / 4.355 GB, free: 73.52 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/14.03, allocations: 2.255 MB / 4.357 GB, free: 73.18 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/14.03, allocations: 1.23 MB / 4.358 GB, free: 73.17 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/14.03, allocations: 1.917 MB / 4.36 GB, free: 71.1 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003134/14.04, allocations: 1.457 MB / 4.361 GB, free: 70.98 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004243/14.04, allocations: 0.4915 MB / 4.362 GB, free: 70.8 MB / 1.26 GB Notification: Performance of pre-optimization done (n=236): time 1.465e-05/14.04, allocations: 0 / 4.362 GB, free: 70.8 MB / 1.26 GB Notification: Performance of matching and sorting (n=236): time 0.00743/14.05, allocations: 2.844 MB / 4.365 GB, free: 70.39 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/14.05, allocations: 259.9 kB / 4.365 GB, free: 70.11 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/14.06, allocations: 4.508 MB / 4.369 GB, free: 69.71 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0009681/14.06, allocations: 86.48 kB / 4.369 GB, free: 69.68 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003595/14.06, allocations: 2.645 MB / 4.372 GB, free: 69.03 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/14.06, allocations: 0.798 MB / 4.373 GB, free: 68.52 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007098/14.06, allocations: 61.97 kB / 4.373 GB, free: 68.52 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002854/14.07, allocations: 414.1 kB / 4.373 GB, free: 68.21 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/14.07, allocations: 1.136 MB / 4.374 GB, free: 68.2 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/14.07, allocations: 2.059 MB / 4.376 GB, free: 67.17 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/14.07, allocations: 1.4 MB / 4.378 GB, free: 67.03 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/14.07, allocations: 11.09 kB / 4.378 GB, free: 67.02 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.008962/14.08, allocations: 3.771 MB / 4.381 GB, free: 66.46 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.002455/14.09, allocations: 9.025 MB / 4.39 GB, free: 57.26 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/14.09, allocations: 17.66 kB / 4.39 GB, free: 57.26 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.443e-05/14.09, allocations: 34.5 kB / 4.39 GB, free: 57.26 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/14.09, allocations: 0.9883 MB / 4.391 GB, free: 57.18 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/14.09, allocations: 5.397 MB / 4.397 GB, free: 51.89 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009449/14.1, allocations: 0.5173 MB / 4.397 GB, free: 51.83 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/14.11, allocations: 156.7 kB / 4.397 GB, free: 51.83 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/14.11, allocations: 7.578 kB / 4.397 GB, free: 51.83 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009159/14.12, allocations: 3.235 MB / 4.4 GB, free: 51.58 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-05/14.12, allocations: 21.78 kB / 4.4 GB, free: 51.58 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.699e-05/14.12, allocations: 38 kB / 4.4 GB, free: 51.58 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/14.12, allocations: 0.9109 MB / 4.401 GB, free: 51.52 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.259e-05/14.12, allocations: 44.94 kB / 4.401 GB, free: 51.51 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007653/14.13, allocations: 0.5068 MB / 4.402 GB, free: 51.45 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009551/14.13, allocations: 152 kB / 4.402 GB, free: 51.45 MB / 1.26 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.001831/14.13, allocations: 328.5 kB / 4.402 GB, free: 51.26 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002491/14.13, allocations: 0.5725 MB / 4.403 GB, free: 50.95 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009741/14.14, allocations: 3.682 MB / 4.406 GB, free: 50.64 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/14.14, allocations: 36.86 kB / 4.407 GB, free: 50.64 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/14.14, allocations: 4 kB / 4.407 GB, free: 50.64 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004773/14.15, allocations: 2.679 MB / 4.409 GB, free: 49.46 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/14.17, allocations: 8.53 MB / 4.417 GB, free: 45.66 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/14.17, allocations: 3.594 kB / 4.417 GB, free: 45.66 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003677/14.17, allocations: 0.709 MB / 4.418 GB, free: 45.6 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-05/14.17, allocations: 11.59 kB / 4.418 GB, free: 45.6 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005077/14.17, allocations: 88.81 kB / 4.418 GB, free: 45.56 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/14.18, allocations: 5.343 MB / 4.423 GB, free: 40.2 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/14.18, allocations: 7.281 kB / 4.423 GB, free: 40.19 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009907/14.19, allocations: 5.358 MB / 4.429 GB, free: 37.36 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004236/14.19, allocations: 1.211 MB / 4.43 GB, free: 36.57 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/14.19, allocations: 64.66 kB / 4.43 GB, free: 36.54 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00605/14.2, allocations: 473.8 kB / 4.43 GB, free: 36.45 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/14.2, allocations: 175.3 kB / 4.431 GB, free: 36.42 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005408/14.2, allocations: 127.6 kB / 4.431 GB, free: 36.4 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.008266/14.21, allocations: 3.432 MB / 4.434 GB, free: 35.04 MB / 1.26 GB Notification: Performance of sort global known variables: time 9.81e-07/14.21, allocations: 0 / 4.434 GB, free: 35.04 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01423/14.22, allocations: 2.761 MB / 4.437 GB, free: 34.45 MB / 1.26 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.01563/14.24, allocations: 8.727 MB / 4.445 GB, free: 29.59 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01177/14.25, allocations: 5.145 MB / 4.45 GB, free: 27.46 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/14.25, allocations: 448 / 4.45 GB, free: 27.45 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/14.25, allocations: 1.594 MB / 4.452 GB, free: 26.79 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01659/14.27, allocations: 2.872 MB / 4.455 GB, free: 26.16 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02911/14.3, allocations: 8.948 MB / 4.463 GB, free: 18.07 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/14.3, allocations: 2.948 MB / 4.466 GB, free: 15.93 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01302/14.32, allocations: 1.59 MB / 4.468 GB, free: 14.88 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005394/14.32, allocations: 2.443 MB / 4.47 GB, free: 12.64 MB / 1.26 GB Notification: Performance of SimCode: time 1.532e-06/14.32, allocations: 0 / 4.47 GB, free: 12.64 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.348/15.67, allocations: 182 MB / 4.648 GB, free: 114.6 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/15.67, allocations: 286 kB / 4.648 GB, free: 114.2 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/26.66, allocations: 5.094 kB / 4.648 GB, free: 114.2 MB / 1.292 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