Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 285.4 MB / 298 MB, free: 5.984 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.001173/0.001173, allocations: 176.8 kB / 366.4 MB, free: 2.105 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.881/1.881, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.001159/0.00116, allocations: 92.55 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.477e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8252, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/2.06, allocations: 449.2 MB / 1.41 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/2.061, allocations: 100.5 kB / 1.41 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.032/8.092, allocations: 1.489 GB / 2.899 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of FrontEnd: time 5.149e-06/8.092, allocations: 0 / 2.899 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0009109/8.093, allocations: 96.53 kB / 2.899 GB, free: 95.39 MB / 0.9792 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.01407/8.107, allocations: 3.267 MB / 2.902 GB, free: 93.68 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/8.108, allocations: 10.91 kB / 2.902 GB, free: 93.68 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/8.113, allocations: 0.7956 MB / 2.903 GB, free: 93.49 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/8.124, allocations: 3.378 MB / 2.906 GB, free: 92.83 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/8.125, allocations: 422.5 kB / 2.907 GB, free: 92.82 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009498/8.126, allocations: 207.7 kB / 2.907 GB, free: 92.82 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/8.131, allocations: 2.335 MB / 2.909 GB, free: 92.51 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/8.131, allocations: 11.17 kB / 2.909 GB, free: 92.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/8.131, allocations: 78.44 kB / 2.909 GB, free: 92.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/8.131, allocations: 50.59 kB / 2.909 GB, free: 92.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/8.135, allocations: 1.929 MB / 2.911 GB, free: 92.47 MB / 0.9792 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.02118/8.156, allocations: 12.7 MB / 2.924 GB, free: 86.36 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/8.159, allocations: 1.365 MB / 2.925 GB, free: 86.12 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/8.16, allocations: 0.7417 MB / 2.926 GB, free: 86.11 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/8.161, allocations: 1.648 MB / 2.927 GB, free: 84.32 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/8.163, allocations: 0.8933 MB / 2.928 GB, free: 84.19 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002325/8.165, allocations: 208.7 kB / 2.928 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 6.302e-06/8.165, allocations: 0 / 2.928 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.003902/8.169, allocations: 1.705 MB / 2.93 GB, free: 83.83 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/8.169, allocations: 306.5 kB / 2.93 GB, free: 83.48 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/8.173, allocations: 2.305 MB / 2.933 GB, free: 83.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/8.174, allocations: 57.58 kB / 2.933 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/8.175, allocations: 1.34 MB / 2.934 GB, free: 82.11 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/8.175, allocations: 449.9 kB / 2.934 GB, free: 81.77 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/8.175, allocations: 30.81 kB / 2.934 GB, free: 81.75 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001106/8.175, allocations: 366.8 kB / 2.935 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/8.176, allocations: 0.6266 MB / 2.935 GB, free: 81.15 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/8.178, allocations: 1.071 MB / 2.936 GB, free: 80.37 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/8.179, allocations: 0.7636 MB / 2.937 GB, free: 80.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/8.179, allocations: 0 / 2.937 GB, free: 80.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004005/8.183, allocations: 2.125 MB / 2.939 GB, free: 79.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007405/8.184, allocations: 3.12 MB / 2.942 GB, free: 75.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/8.184, allocations: 14.61 kB / 2.942 GB, free: 75.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/8.184, allocations: 111.9 kB / 2.942 GB, free: 75.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/8.186, allocations: 437.1 kB / 2.943 GB, free: 75.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/8.187, allocations: 1.191 MB / 2.944 GB, free: 74.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/8.19, allocations: 335.2 kB / 2.944 GB, free: 74.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/8.19, allocations: 80.25 kB / 2.944 GB, free: 74.51 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/8.19, allocations: 9.109 kB / 2.944 GB, free: 74.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00307/8.193, allocations: 1.838 MB / 2.946 GB, free: 73.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/8.193, allocations: 9.531 kB / 2.946 GB, free: 73.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/8.194, allocations: 117.6 kB / 2.946 GB, free: 73.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/8.195, allocations: 430.5 kB / 2.947 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/8.198, allocations: 3.297 MB / 2.95 GB, free: 70.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/8.202, allocations: 308.3 kB / 2.95 GB, free: 70.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/8.202, allocations: 83.69 kB / 2.95 GB, free: 70.47 MB / 0.9792 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.0005686/8.202, allocations: 234.5 kB / 2.95 GB, free: 70.26 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000704/8.203, allocations: 301.3 kB / 2.951 GB, free: 70.11 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/8.207, allocations: 2.246 MB / 2.953 GB, free: 69.19 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/8.207, allocations: 24.98 kB / 2.953 GB, free: 69.18 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/8.207, allocations: 0 / 2.953 GB, free: 69.18 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/8.21, allocations: 1.79 MB / 2.955 GB, free: 68.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/8.22, allocations: 5.408 MB / 2.96 GB, free: 65.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/8.22, allocations: 2.125 kB / 2.96 GB, free: 65.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/8.221, allocations: 335.8 kB / 2.96 GB, free: 65.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/8.221, allocations: 95.36 kB / 2.96 GB, free: 65.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/8.221, allocations: 58.23 kB / 2.96 GB, free: 65.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006322/8.222, allocations: 1.176 MB / 2.962 GB, free: 64.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/8.222, allocations: 3.625 kB / 2.962 GB, free: 64.36 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/8.227, allocations: 3.484 MB / 2.965 GB, free: 62.37 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/8.229, allocations: 0.6803 MB / 2.966 GB, free: 61.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/8.23, allocations: 36.53 kB / 2.966 GB, free: 61.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/8.232, allocations: 277.5 kB / 2.966 GB, free: 61.84 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/8.232, allocations: 110.8 kB / 2.966 GB, free: 61.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/8.233, allocations: 70.94 kB / 2.966 GB, free: 61.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002935/8.236, allocations: 1.795 MB / 2.968 GB, free: 61.08 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.61e-07/8.236, allocations: 0 / 2.968 GB, free: 61.08 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006176/8.242, allocations: 1.602 MB / 2.969 GB, free: 60.71 MB / 0.9792 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.003009/8.245, allocations: 1.581 MB / 2.971 GB, free: 60 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005107/8.25, allocations: 3.153 MB / 2.974 GB, free: 58.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/8.25, allocations: 7.875 kB / 2.974 GB, free: 58.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/8.251, allocations: 0.9306 MB / 2.975 GB, free: 58.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008089/8.259, allocations: 1.449 MB / 2.976 GB, free: 57.78 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/8.27, allocations: 4.196 MB / 2.981 GB, free: 55.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/8.271, allocations: 1.863 MB / 2.982 GB, free: 55.14 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004853/8.276, allocations: 0.8401 MB / 2.983 GB, free: 54.96 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/8.277, allocations: 190.4 kB / 2.983 GB, free: 54.95 MB / 0.9792 GB Notification: Performance of SimCode: time 9.02e-07/8.277, allocations: 0 / 2.983 GB, free: 54.95 MB / 0.9792 GB Notification: Performance of Templates: time 0.1275/8.404, allocations: 72.86 MB / 3.055 GB, free: 5.152 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)