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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 289.7 MB / 302.3 MB, free: 2.121 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.001226/0.001226, allocations: 183.8 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, 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.0009932/0.0009933, allocations: 88.44 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.915e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3409, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.211/2.552, allocations: 450.2 MB / 1.419 GB, free: 253.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/2.553, allocations: 102 kB / 1.42 GB, free: 253.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.195/8.747, allocations: 1.489 GB / 2.909 GB, free: 81.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.475e-06/8.747, allocations: 0 / 2.909 GB, free: 81.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008812/8.748, allocations: 94.06 kB / 2.909 GB, free: 81.56 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.01218/8.76, allocations: 3.261 MB / 2.912 GB, free: 80.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/8.76, allocations: 13.28 kB / 2.912 GB, free: 80.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/8.765, allocations: 0.796 MB / 2.913 GB, free: 80.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/8.775, allocations: 3.372 MB / 2.916 GB, free: 79.52 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/8.777, allocations: 425.5 kB / 2.917 GB, free: 79.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/8.778, allocations: 209.2 kB / 2.917 GB, free: 79.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008623/8.786, allocations: 2.333 MB / 2.919 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/8.786, allocations: 8.312 kB / 2.919 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007322/8.787, allocations: 83.97 kB / 2.919 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.242e-05/8.787, allocations: 47.97 kB / 2.919 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/8.793, allocations: 1.931 MB / 2.921 GB, free: 79.2 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.02317/8.816, allocations: 12.68 MB / 2.933 GB, free: 73.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/8.818, allocations: 1.368 MB / 2.935 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/8.82, allocations: 0.7431 MB / 2.935 GB, free: 72.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/8.821, allocations: 1.643 MB / 2.937 GB, free: 71.17 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/8.823, allocations: 0.8997 MB / 2.938 GB, free: 71.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00214/8.825, allocations: 205.2 kB / 2.938 GB, free: 70.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 9.929e-06/8.825, allocations: 0 / 2.938 GB, free: 70.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=130): time 0.004391/8.829, allocations: 1.7 MB / 2.94 GB, free: 70.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/8.83, allocations: 309.5 kB / 2.94 GB, free: 70.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006815/8.836, allocations: 2.305 MB / 2.942 GB, free: 70.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005715/8.837, allocations: 60.5 kB / 2.942 GB, free: 70.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/8.839, allocations: 1.337 MB / 2.944 GB, free: 69.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/8.839, allocations: 448.2 kB / 2.944 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/8.84, allocations: 38.84 kB / 2.944 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001304/8.84, allocations: 368.1 kB / 2.945 GB, free: 69.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/8.841, allocations: 0.6261 MB / 2.945 GB, free: 69.12 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/8.842, allocations: 1.065 MB / 2.946 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/8.844, allocations: 0.7658 MB / 2.947 GB, free: 68.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/8.844, allocations: 0 / 2.947 GB, free: 68.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004846/8.849, allocations: 2.117 MB / 2.949 GB, free: 68.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000682/8.849, allocations: 3.127 MB / 2.952 GB, free: 65.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/8.849, allocations: 12.55 kB / 2.952 GB, free: 65.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/8.85, allocations: 121.1 kB / 2.952 GB, free: 65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/8.852, allocations: 437.8 kB / 2.953 GB, free: 65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007469/8.853, allocations: 1.188 MB / 2.954 GB, free: 63.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/8.856, allocations: 339.1 kB / 2.954 GB, free: 63.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/8.857, allocations: 83.16 kB / 2.954 GB, free: 63.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/8.857, allocations: 4.312 kB / 2.954 GB, free: 63.95 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003836/8.86, allocations: 1.837 MB / 2.956 GB, free: 63.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/8.86, allocations: 10.56 kB / 2.956 GB, free: 63.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/8.861, allocations: 109.5 kB / 2.956 GB, free: 63.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/8.863, allocations: 429.9 kB / 2.956 GB, free: 63.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/8.866, allocations: 3.306 MB / 2.96 GB, free: 61.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/8.869, allocations: 307.4 kB / 2.96 GB, free: 61.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/8.87, allocations: 83.94 kB / 2.96 GB, free: 61.03 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.000791/8.871, allocations: 237.7 kB / 2.96 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/8.872, allocations: 304.7 kB / 2.961 GB, free: 60.73 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/8.877, allocations: 2.244 MB / 2.963 GB, free: 60.54 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/8.877, allocations: 22.59 kB / 2.963 GB, free: 60.54 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/8.878, allocations: 1.312 kB / 2.963 GB, free: 60.54 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003182/8.881, allocations: 1.786 MB / 2.965 GB, free: 60.19 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/8.894, allocations: 5.4 MB / 2.97 GB, free: 59.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/8.894, allocations: 5.062 kB / 2.97 GB, free: 59.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/8.895, allocations: 331.1 kB / 2.97 GB, free: 59.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003109/8.896, allocations: 104.8 kB / 2.97 GB, free: 59.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/8.896, allocations: 51.05 kB / 2.97 GB, free: 59.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007049/8.897, allocations: 1.184 MB / 2.971 GB, free: 58.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/8.897, allocations: 6.438 kB / 2.971 GB, free: 58.13 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008151/8.905, allocations: 3.48 MB / 2.975 GB, free: 57.17 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003541/8.908, allocations: 0.6823 MB / 2.976 GB, free: 56.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/8.91, allocations: 37.22 kB / 2.976 GB, free: 56.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004242/8.914, allocations: 273.9 kB / 2.976 GB, free: 56.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/8.915, allocations: 108.6 kB / 2.976 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/8.915, allocations: 75.03 kB / 2.976 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005674/8.921, allocations: 1.791 MB / 2.978 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.653e-06/8.921, allocations: 0 / 2.978 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00978/8.93, allocations: 1.605 MB / 2.979 GB, free: 56.53 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.004144/8.935, allocations: 1.577 MB / 2.981 GB, free: 56.06 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007189/8.942, allocations: 3.156 MB / 2.984 GB, free: 55.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/8.942, allocations: 7.062 kB / 2.984 GB, free: 55.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/8.944, allocations: 0.9297 MB / 2.985 GB, free: 55.53 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009046/8.953, allocations: 1.45 MB / 2.986 GB, free: 55.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/8.965, allocations: 4.208 MB / 2.99 GB, free: 54.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/8.968, allocations: 1.859 MB / 2.992 GB, free: 53.63 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006769/8.975, allocations: 0.8412 MB / 2.993 GB, free: 53.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/8.976, allocations: 192.7 kB / 2.993 GB, free: 53.59 MB / 0.9948 GB Notification: Performance of SimCode: time 1.152e-06/8.976, allocations: 0 / 2.993 GB, free: 53.59 MB / 0.9948 GB Notification: Performance of Templates: time 0.1223/9.098, allocations: 72.85 MB / 3.064 GB, free: 49.3 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (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 & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)