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.511/1.511, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001008/0.001008, allocations: 174.6 kB / 321.3 MB, free: 14.66 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.577/1.577, allocations: 205.1 MB / 0.572 GB, free: 10.63 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.0009777/0.0009775, allocations: 86.55 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.444e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.238, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.703/1.941, allocations: 441.4 MB / 1.323 GB, free: 297.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.941, allocations: 102.5 kB / 1.323 GB, free: 297.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.323/8.264, allocations: 1.447 GB / 2.77 GB, free: 78.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.653e-06/8.264, allocations: 0 / 2.77 GB, free: 78.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0007589/8.265, allocations: 93.77 kB / 2.77 GB, free: 78.94 MB / 0.9167 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.01203/8.277, allocations: 3.257 MB / 2.773 GB, free: 77.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/8.277, allocations: 9.812 kB / 2.773 GB, free: 77.45 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/8.278, allocations: 272.9 kB / 2.774 GB, free: 77.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/8.283, allocations: 0.7911 MB / 2.774 GB, free: 77.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/8.296, allocations: 3.388 MB / 2.778 GB, free: 76.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001863/8.298, allocations: 420 kB / 2.778 GB, free: 76.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/8.299, allocations: 216 kB / 2.778 GB, free: 76.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006533/8.306, allocations: 2.317 MB / 2.781 GB, free: 76.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.146e-05/8.306, allocations: 1.688 kB / 2.781 GB, free: 76.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/8.306, allocations: 84.22 kB / 2.781 GB, free: 76.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/8.306, allocations: 51.53 kB / 2.781 GB, free: 76.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005126/8.311, allocations: 1.92 MB / 2.783 GB, free: 76.28 MB / 0.9167 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.02609/8.337, allocations: 12.68 MB / 2.795 GB, free: 70.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/8.34, allocations: 1.334 MB / 2.796 GB, free: 70.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/8.342, allocations: 0.7217 MB / 2.797 GB, free: 70 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/8.343, allocations: 1.643 MB / 2.799 GB, free: 68.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/8.345, allocations: 0.7986 MB / 2.799 GB, free: 68.13 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00302/8.348, allocations: 200.9 kB / 2.8 GB, free: 68.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=127): time 1.77e-05/8.348, allocations: 0 / 2.8 GB, free: 68.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=127): time 0.005805/8.354, allocations: 1.661 MB / 2.801 GB, free: 67.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/8.354, allocations: 225.5 kB / 2.801 GB, free: 67.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/8.362, allocations: 2.313 MB / 2.804 GB, free: 67.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009686/8.364, allocations: 62.39 kB / 2.804 GB, free: 67.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00252/8.366, allocations: 1.35 MB / 2.805 GB, free: 66.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/8.367, allocations: 436.3 kB / 2.806 GB, free: 66.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/8.367, allocations: 32.58 kB / 2.806 GB, free: 66.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001501/8.367, allocations: 361.3 kB / 2.806 GB, free: 66.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/8.369, allocations: 0.6091 MB / 2.807 GB, free: 66.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/8.371, allocations: 1.072 MB / 2.808 GB, free: 65.81 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/8.373, allocations: 0.7392 MB / 2.808 GB, free: 65.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/8.373, allocations: 3.875 kB / 2.808 GB, free: 65.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.005511/8.378, allocations: 2.099 MB / 2.81 GB, free: 65.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001074/8.379, allocations: 3.519 MB / 2.814 GB, free: 61.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/8.379, allocations: 10.72 kB / 2.814 GB, free: 61.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/8.38, allocations: 109.6 kB / 2.814 GB, free: 61.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/8.383, allocations: 433.6 kB / 2.814 GB, free: 61.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/8.384, allocations: 1.198 MB / 2.815 GB, free: 60.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006017/8.39, allocations: 334.3 kB / 2.816 GB, free: 60.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006477/8.391, allocations: 89.16 kB / 2.816 GB, free: 60.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/8.391, allocations: 5.25 kB / 2.816 GB, free: 60.68 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005083/8.396, allocations: 1.816 MB / 2.818 GB, free: 60.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/8.396, allocations: 8.594 kB / 2.818 GB, free: 60.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/8.396, allocations: 111.5 kB / 2.818 GB, free: 60.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/8.399, allocations: 439.8 kB / 2.818 GB, free: 60.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/8.402, allocations: 3.274 MB / 2.821 GB, free: 57.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004831/8.407, allocations: 304.9 kB / 2.822 GB, free: 57.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005772/8.407, allocations: 88.61 kB / 2.822 GB, free: 57.75 MB / 0.9167 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 () * 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.0007526/8.408, allocations: 235.2 kB / 2.822 GB, free: 57.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/8.409, allocations: 305.1 kB / 2.822 GB, free: 57.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/8.415, allocations: 2.227 MB / 2.824 GB, free: 57.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/8.415, allocations: 22.5 kB / 2.824 GB, free: 57.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/8.415, allocations: 0 / 2.824 GB, free: 57.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00334/8.419, allocations: 1.781 MB / 2.826 GB, free: 56.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/8.431, allocations: 5.044 MB / 2.831 GB, free: 56.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/8.431, allocations: 2.656 kB / 2.831 GB, free: 56.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/8.433, allocations: 321.3 kB / 2.831 GB, free: 56.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/8.433, allocations: 103.9 kB / 2.832 GB, free: 56.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/8.433, allocations: 44.95 kB / 2.832 GB, free: 56.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000742/8.434, allocations: 1.186 MB / 2.833 GB, free: 55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/8.434, allocations: 8.844 kB / 2.833 GB, free: 55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006595/8.441, allocations: 3.333 MB / 2.836 GB, free: 54.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/8.443, allocations: 0.6726 MB / 2.837 GB, free: 53.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009718/8.444, allocations: 38.31 kB / 2.837 GB, free: 53.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003682/8.448, allocations: 278.4 kB / 2.837 GB, free: 53.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/8.448, allocations: 97.11 kB / 2.837 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/8.449, allocations: 71.16 kB / 2.837 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004998/8.454, allocations: 1.802 MB / 2.839 GB, free: 53.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.91e-07/8.454, allocations: 2.531 kB / 2.839 GB, free: 53.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008953/8.463, allocations: 1.576 MB / 2.84 GB, free: 53.51 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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) * 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.01049/8.473, allocations: 5.823 MB / 2.846 GB, free: 51.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007298/8.481, allocations: 3.107 MB / 2.849 GB, free: 50.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/8.481, allocations: 0 / 2.849 GB, free: 50.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/8.483, allocations: 0.9147 MB / 2.85 GB, free: 50.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/8.494, allocations: 1.464 MB / 2.851 GB, free: 50.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/8.511, allocations: 4.743 MB / 2.856 GB, free: 49.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/8.513, allocations: 1.859 MB / 2.858 GB, free: 48.36 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007033/8.52, allocations: 0.8369 MB / 2.859 GB, free: 48.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002621/8.522, allocations: 1.221 MB / 2.86 GB, free: 48.2 MB / 0.9167 GB Notification: Performance of SimCode: time 2.184e-06/8.522, allocations: 4 kB / 2.86 GB, free: 48.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1818/8.704, allocations: 102.1 MB / 2.96 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/8.705, allocations: 277.1 kB / 2.96 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/15.14, allocations: 3.938 kB / 2.96 GB, free: 11.53 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)