Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 289.7 MB / 302.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001625, allocations: 181.8 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009644/0.0009643, allocations: 93.72 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.258e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.018/2.338, allocations: 450.2 MB / 1.42 GB, free: 289.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/2.339, allocations: 103.1 kB / 1.42 GB, free: 289.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.077/8.416, allocations: 1.489 GB / 2.909 GB, free: 75.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.734e-06/8.416, allocations: 0 / 2.909 GB, free: 75.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006826/8.417, allocations: 90.97 kB / 2.909 GB, free: 75.65 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01029/8.427, allocations: 3.27 MB / 2.912 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/8.427, allocations: 11.09 kB / 2.912 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007497/8.428, allocations: 278.6 kB / 2.912 GB, free: 74.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/8.432, allocations: 0.7899 MB / 2.913 GB, free: 74.23 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008387/8.44, allocations: 3.377 MB / 2.916 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/8.442, allocations: 424.8 kB / 2.917 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006507/8.442, allocations: 212.5 kB / 2.917 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/8.446, allocations: 2.322 MB / 2.919 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/8.447, allocations: 10.81 kB / 2.919 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/8.447, allocations: 85.73 kB / 2.919 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/8.447, allocations: 50.66 kB / 2.919 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/8.45, allocations: 1.937 MB / 2.921 GB, free: 73.45 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.0179/8.468, allocations: 12.7 MB / 2.934 GB, free: 67.47 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/8.47, allocations: 1.354 MB / 2.935 GB, free: 67.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/8.471, allocations: 0.7488 MB / 2.936 GB, free: 67.23 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/8.472, allocations: 1.646 MB / 2.937 GB, free: 65.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/8.474, allocations: 0.8992 MB / 2.938 GB, free: 65.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00198/8.476, allocations: 195.7 kB / 2.939 GB, free: 65.26 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 4.729e-06/8.476, allocations: 9.25 kB / 2.939 GB, free: 65.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=130): time 0.003182/8.479, allocations: 1.709 MB / 2.94 GB, free: 64.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/8.479, allocations: 302.7 kB / 2.94 GB, free: 64.64 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/8.482, allocations: 2.314 MB / 2.943 GB, free: 64.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002841/8.483, allocations: 58.95 kB / 2.943 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/8.484, allocations: 1.333 MB / 2.944 GB, free: 63.99 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/8.484, allocations: 450.7 kB / 2.945 GB, free: 63.71 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/8.484, allocations: 31.59 kB / 2.945 GB, free: 63.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/8.484, allocations: 363.8 kB / 2.945 GB, free: 63.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/8.486, allocations: 0.6226 MB / 2.946 GB, free: 63.39 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/8.487, allocations: 1.073 MB / 2.947 GB, free: 62.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/8.488, allocations: 0.7612 MB / 2.947 GB, free: 62.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/8.488, allocations: 3.031 kB / 2.947 GB, free: 62.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00389/8.492, allocations: 2.121 MB / 2.949 GB, free: 62.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007292/8.493, allocations: 3.13 MB / 2.952 GB, free: 59.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/8.493, allocations: 8.031 kB / 2.952 GB, free: 59.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/8.493, allocations: 108 kB / 2.953 GB, free: 59.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/8.495, allocations: 436.1 kB / 2.953 GB, free: 59.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/8.496, allocations: 1.201 MB / 2.954 GB, free: 58.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/8.5, allocations: 328.8 kB / 2.954 GB, free: 58.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/8.5, allocations: 81.89 kB / 2.955 GB, free: 58.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/8.5, allocations: 8.906 kB / 2.955 GB, free: 58.23 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/8.504, allocations: 1.843 MB / 2.956 GB, free: 58.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/8.504, allocations: 6.219 kB / 2.956 GB, free: 58.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003797/8.504, allocations: 121.1 kB / 2.956 GB, free: 58.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/8.506, allocations: 430 kB / 2.957 GB, free: 58.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/8.509, allocations: 3.285 MB / 2.96 GB, free: 55.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/8.512, allocations: 317 kB / 2.96 GB, free: 55.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/8.512, allocations: 84.17 kB / 2.96 GB, free: 55.32 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (180): * Single equations (assignments): 175 * 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.0005546/8.513, allocations: 234.5 kB / 2.961 GB, free: 55.17 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006558/8.514, allocations: 301.9 kB / 2.961 GB, free: 55.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/8.518, allocations: 2.248 MB / 2.963 GB, free: 54.83 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/8.518, allocations: 24.28 kB / 2.963 GB, free: 54.83 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/8.518, allocations: 0 / 2.963 GB, free: 54.83 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002416/8.52, allocations: 1.789 MB / 2.965 GB, free: 54.49 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009404/8.53, allocations: 5.399 MB / 2.97 GB, free: 53.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/8.53, allocations: 2.812 kB / 2.97 GB, free: 53.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/8.531, allocations: 335.8 kB / 2.971 GB, free: 53.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/8.532, allocations: 105 kB / 2.971 GB, free: 53.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/8.532, allocations: 48.23 kB / 2.971 GB, free: 53.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/8.532, allocations: 1.184 MB / 2.972 GB, free: 52.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/8.532, allocations: 4.875 kB / 2.972 GB, free: 52.42 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/8.537, allocations: 3.477 MB / 2.975 GB, free: 51.46 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/8.539, allocations: 0.685 MB / 2.976 GB, free: 51.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005309/8.54, allocations: 35.59 kB / 2.976 GB, free: 51.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/8.542, allocations: 279.1 kB / 2.976 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/8.542, allocations: 104.6 kB / 2.976 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/8.543, allocations: 77.77 kB / 2.976 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003674/8.546, allocations: 1.791 MB / 2.978 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.71e-07/8.546, allocations: 1.031 kB / 2.978 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00696/8.553, allocations: 1.597 MB / 2.98 GB, free: 50.82 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (147): * Single equations (assignments): 133 * 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.008257/8.562, allocations: 6.158 MB / 2.986 GB, free: 48.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005657/8.567, allocations: 3.153 MB / 2.989 GB, free: 47.87 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/8.567, allocations: 1.25 kB / 2.989 GB, free: 47.87 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/8.569, allocations: 0.9363 MB / 2.99 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008388/8.577, allocations: 1.451 MB / 2.991 GB, free: 47.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/8.591, allocations: 4.828 MB / 2.996 GB, free: 46.49 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/8.593, allocations: 1.864 MB / 2.998 GB, free: 45.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005299/8.598, allocations: 0.8399 MB / 2.998 GB, free: 45.71 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/8.6, allocations: 1.231 MB / 3 GB, free: 45.71 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/8.6, allocations: 0 / 3 GB, free: 45.71 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/8.759, allocations: 102.1 MB / 3.099 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/8.76, allocations: 255 kB / 3.1 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.549/15.31, allocations: 4 kB / 3.1 GB, free: 40.16 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)