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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",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.574/1.574, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 183.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001067/0.001067, allocations: 104.4 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004066, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.468, allocations: 441.4 MB / 1.331 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/1.468, allocations: 109.4 kB / 1.331 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.561/8.029, allocations: 1.452 GB / 2.783 GB, free: 79.66 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.996e-06/8.029, allocations: 2.125 kB / 2.783 GB, free: 79.66 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006272/8.03, allocations: 80.42 kB / 2.783 GB, free: 79.66 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01612/8.046, allocations: 3.885 MB / 2.787 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.114e-05/8.046, allocations: 11.06 kB / 2.787 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001539/8.047, allocations: 278.7 kB / 2.787 GB, free: 78.29 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/8.053, allocations: 0.7952 MB / 2.788 GB, free: 78.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/8.064, allocations: 3.413 MB / 2.791 GB, free: 77.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001751/8.066, allocations: 428.9 kB / 2.792 GB, free: 77.62 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/8.067, allocations: 209.9 kB / 2.792 GB, free: 77.62 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006534/8.073, allocations: 2.554 MB / 2.794 GB, free: 77.33 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/8.073, allocations: 2.625 kB / 2.794 GB, free: 77.33 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/8.074, allocations: 87.53 kB / 2.794 GB, free: 77.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/8.074, allocations: 49.5 kB / 2.795 GB, free: 77.32 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005763/8.079, allocations: 2.372 MB / 2.797 GB, free: 77.31 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02245/8.102, allocations: 12.68 MB / 2.809 GB, free: 71.28 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/8.106, allocations: 1.7 MB / 2.811 GB, free: 71.05 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/8.107, allocations: 1.645 MB / 2.813 GB, free: 69.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002274/8.109, allocations: 0.9864 MB / 2.813 GB, free: 69.19 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0028/8.112, allocations: 203 kB / 2.814 GB, free: 69.11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=127): time 1.552e-05/8.112, allocations: 1.156 kB / 2.814 GB, free: 69.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=127): time 0.008068/8.12, allocations: 3.058 MB / 2.817 GB, free: 68.56 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/8.12, allocations: 222.8 kB / 2.817 GB, free: 68.31 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006999/8.127, allocations: 2.383 MB / 2.819 GB, free: 68.08 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000448/8.128, allocations: 60.92 kB / 2.819 GB, free: 68.05 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/8.13, allocations: 1.334 MB / 2.821 GB, free: 67.68 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006468/8.131, allocations: 443.5 kB / 2.821 GB, free: 67.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/8.131, allocations: 28.03 kB / 2.821 GB, free: 67.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001692/8.131, allocations: 369.7 kB / 2.821 GB, free: 67.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/8.133, allocations: 0.8283 MB / 2.822 GB, free: 67.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/8.136, allocations: 1.287 MB / 2.823 GB, free: 66.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/8.138, allocations: 0.9525 MB / 2.824 GB, free: 66.56 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/8.138, allocations: 5.844 kB / 2.824 GB, free: 66.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.006826/8.145, allocations: 2.545 MB / 2.827 GB, free: 66.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001036/8.146, allocations: 3.523 MB / 2.83 GB, free: 62.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/8.146, allocations: 7.562 kB / 2.83 GB, free: 62.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/8.147, allocations: 114.2 kB / 2.83 GB, free: 62.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/8.148, allocations: 434.6 kB / 2.831 GB, free: 62.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008104/8.149, allocations: 1.2 MB / 2.832 GB, free: 61.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/8.153, allocations: 324.9 kB / 2.832 GB, free: 61.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000347/8.154, allocations: 89.94 kB / 2.832 GB, free: 61.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/8.154, allocations: 3.25 kB / 2.832 GB, free: 61.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005463/8.159, allocations: 2.253 MB / 2.835 GB, free: 61.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/8.159, allocations: 9.969 kB / 2.835 GB, free: 61.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/8.16, allocations: 109.5 kB / 2.835 GB, free: 61.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/8.161, allocations: 429.1 kB / 2.835 GB, free: 61.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/8.165, allocations: 3.305 MB / 2.838 GB, free: 58.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/8.168, allocations: 303.7 kB / 2.839 GB, free: 58.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/8.169, allocations: 88.61 kB / 2.839 GB, free: 58.59 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002351/8.171, allocations: 0.7205 MB / 2.839 GB, free: 58.36 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/8.172, allocations: 308.8 kB / 2.84 GB, free: 58.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007288/8.18, allocations: 2.602 MB / 2.842 GB, free: 58.01 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/8.18, allocations: 19.84 kB / 2.842 GB, free: 58.01 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/8.18, allocations: 0 / 2.842 GB, free: 58.01 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004471/8.184, allocations: 2.16 MB / 2.844 GB, free: 57.67 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/8.202, allocations: 5.247 MB / 2.85 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/8.202, allocations: 2.594 kB / 2.85 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/8.204, allocations: 335.4 kB / 2.85 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/8.204, allocations: 101 kB / 2.85 GB, free: 57.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/8.204, allocations: 54.7 kB / 2.85 GB, free: 57.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/8.205, allocations: 1.177 MB / 2.851 GB, free: 55.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/8.205, allocations: 3.156 kB / 2.851 GB, free: 55.98 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008313/8.213, allocations: 3.792 MB / 2.855 GB, free: 55.31 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/8.216, allocations: 0.6667 MB / 2.855 GB, free: 55.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/8.218, allocations: 38.56 kB / 2.856 GB, free: 55.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/8.222, allocations: 275 kB / 2.856 GB, free: 55.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/8.222, allocations: 102.5 kB / 2.856 GB, free: 55.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/8.222, allocations: 66.02 kB / 2.856 GB, free: 55.03 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.005357/8.227, allocations: 1.839 MB / 2.858 GB, free: 54.89 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.61e-07/8.227, allocations: 0 / 2.858 GB, free: 54.89 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01122/8.239, allocations: 1.589 MB / 2.859 GB, free: 54.69 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01525/8.254, allocations: 6.155 MB / 2.865 GB, free: 52.75 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008826/8.263, allocations: 3.64 MB / 2.869 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/8.263, allocations: 0 / 2.869 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002775/8.266, allocations: 1.12 MB / 2.87 GB, free: 52.24 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009157/8.275, allocations: 1.432 MB / 2.871 GB, free: 52.22 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/8.299, allocations: 13.42 MB / 2.884 GB, free: 42.92 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/8.302, allocations: 1.857 MB / 2.886 GB, free: 42.18 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0057/8.307, allocations: 0.6718 MB / 2.887 GB, free: 42.11 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003103/8.311, allocations: 1.268 MB / 2.888 GB, free: 42.11 MB / 0.9323 GB Notification: Performance of SimCode: time 1.379e-05/8.311, allocations: 0 / 2.888 GB, free: 42.11 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/8.496, allocations: 93.94 MB / 2.98 GB, free: 36.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/8.497, allocations: 307.1 kB / 2.98 GB, free: 36.08 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.28/14.78, allocations: 0 / 2.98 GB, free: 36.08 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)