Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 103.8 kB / 16.38 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 193.5 kB / 17.32 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 75.89 kB / 0.673 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.244, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger): time 1.193/1.437, allocations: 366.3 MB / 1.143 GB, free: 39.3 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1135/1.551, allocations: 82.9 MB / 1.223 GB, free: 38.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02152/1.572, allocations: 464.5 kB / 1.224 GB, free: 38.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01885/1.591, allocations: 4.808 MB / 1.229 GB, free: 38.11 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.03652/1.628, allocations: 11.4 MB / 1.24 GB, free: 37.65 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.02924/1.657, allocations: 10.63 MB / 1.25 GB, free: 35.64 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.03579/1.693, allocations: 24.29 MB / 1.274 GB, free: 25.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01751/1.71, allocations: 9.415 MB / 1.283 GB, free: 19.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02464/1.735, allocations: 10.55 MB / 1.293 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01376/1.749, allocations: 7.044 MB / 1.3 GB, free: 8.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004281/1.753, allocations: 1.094 MB / 1.301 GB, free: 7.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01708/1.77, allocations: 6.286 MB / 1.307 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004446/1.775, allocations: 2.723 MB / 1.31 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01145/1.786, allocations: 5.647 MB / 1.316 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.03375/1.82, allocations: 19.14 MB / 1.334 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.82, allocations: 0 / 1.334 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.953e-06/1.82, allocations: 0 / 1.334 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0006201/1.821, allocations: 0 / 1.334 GB, free: 6.738 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1427 * Number of variables: 1427 Notification: Performance of Generate backend data structure: time 0.02607/1.847, allocations: 10.94 MB / 1.345 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.847, allocations: 8.031 kB / 1.345 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008825/1.856, allocations: 1.857 MB / 1.347 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/1.874, allocations: 8.714 MB / 1.355 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005238/1.875, allocations: 469.4 kB / 1.356 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/1.877, allocations: 0.5936 MB / 1.356 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/1.892, allocations: 6.703 MB / 1.363 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/1.892, allocations: 7.938 kB / 1.363 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000614/1.893, allocations: 244 kB / 1.363 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.893, allocations: 139.9 kB / 1.363 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/1.908, allocations: 5.894 MB / 1.369 GB, free: 3.109 MB / 0.9825 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.05862/1.967, allocations: 33.15 MB / 1.401 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.978, allocations: 4.278 MB / 1.406 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005351/1.983, allocations: 2.214 MB / 1.408 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02361/2.007, allocations: 12.3 MB / 1.42 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006629/2.013, allocations: 2.584 MB / 1.422 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003115/2.017, allocations: 425.9 kB / 1.423 GB, free: 9.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=394): time 1.496e-05/2.017, allocations: 4 kB / 1.423 GB, free: 9.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=394): time 0.02342/2.04, allocations: 7.85 MB / 1.43 GB, free: 1.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.04, allocations: 183.4 kB / 1.431 GB, free: 1.129 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01472/2.055, allocations: 7.248 MB / 1.438 GB, free: 9.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/2.056, allocations: 133.7 kB / 1.438 GB, free: 9.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.004447/2.061, allocations: 3.973 MB / 1.442 GB, free: 5.809 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001902/2.063, allocations: 1.297 MB / 1.443 GB, free: 4.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003195/2.066, allocations: 1.055 MB / 1.444 GB, free: 3.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/2.066, allocations: 309.1 kB / 1.444 GB, free: 3.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005588/2.072, allocations: 2.186 MB / 1.446 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007/2.079, allocations: 3.489 MB / 1.45 GB, free: 12.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/2.091, allocations: 5.52 MB / 1.455 GB, free: 6.938 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-05/2.091, allocations: 8 kB / 1.455 GB, free: 6.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=647) (initialization): time 0.01927/2.11, allocations: 7.017 MB / 1.462 GB, free: 15.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/2.11, allocations: 125 kB / 1.462 GB, free: 15.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-05/2.11, allocations: 28.88 kB / 1.462 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/2.112, allocations: 0.505 MB / 1.463 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005233/2.118, allocations: 1.166 MB / 1.464 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/2.12, allocations: 2.697 MB / 1.466 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006219/2.126, allocations: 366.4 kB / 1.467 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009495/2.127, allocations: 255.9 kB / 1.467 GB, free: 10.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009087/2.136, allocations: 3.581 MB / 1.47 GB, free: 7.031 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006801/2.143, allocations: 3.43 MB / 1.474 GB, free: 3.066 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01175/2.155, allocations: 5.382 MB / 1.479 GB, free: 13.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.573e-05/2.155, allocations: 16 kB / 1.479 GB, free: 13.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=647) (initialization_lambda0): time 0.01814/2.173, allocations: 6.818 MB / 1.486 GB, free: 6.332 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/2.173, allocations: 117.1 kB / 1.486 GB, free: 6.199 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/2.173, allocations: 28.62 kB / 1.486 GB, free: 6.172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/2.175, allocations: 471.8 kB / 1.486 GB, free: 5.699 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005171/2.18, allocations: 1.154 MB / 1.487 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004492/2.185, allocations: 4.924 MB / 1.492 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006692/2.192, allocations: 371 kB / 1.493 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/2.193, allocations: 255.9 kB / 1.493 GB, free: 14.69 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 66 (hexVal.hex.flowRegime_nominal,hexPum.hex.flowRegime_nominal,TDisVal.nextEventScaled,TDisVal.nextEvent,$PRE.TDisVal.nextEvent,TDisVal.last,TDisVal.b,TDisVal.a,THotVal.nextEventScaled,THotVal.nextEvent,$PRE.THotVal.nextEvent,THotVal.last,THotVal.b,THotVal.a,TColVal.nextEventScaled,TColVal.nextEvent,$PRE.TColVal.nextEvent,TColVal.last,TColVal.b,TColVal.a,or2.y,hexVal.hex.flowRegime,hexVal.con.gaiAct.k[2],hexVal.con.gaiAct.k[1],hexVal.con.gaiAct.index,$PRE.hexVal.con.gaiAct.index,hexVal.con.setAct.k[2],hexVal.con.setAct.k[1],hexVal.con.setAct.index,$PRE.hexVal.con.setAct.index,hexVal.con.or1.y,hexVal.con.cooRej.greHys.y,$PRE.hexVal.con.cooRej.greHys.y,hexVal.con.heaRej.greHys.y,$PRE.hexVal.con.heaRej.greHys.y,hexVal.con.and2.y,hexVal.con.greThr.greHys.y,$PRE.hexVal.con.greThr.greHys.y,hexPum.hex.flowRegime,hexPum.con.gaiAct.k[2],hexPum.con.gaiAct.k[1],hexPum.con.gaiAct.index,$PRE.hexPum.con.gaiAct.index,hexPum.con.setAct.k[2],hexPum.con.setAct.k[1],hexPum.con.setAct.index,$PRE.hexPum.con.setAct.index,hexPum.con.or1.y,hexPum.con.cooRej.greHys.y,$PRE.hexPum.con.cooRej.greHys.y,hexPum.con.heaRej.greHys.y,$PRE.hexPum.con.heaRej.greHys.y,hexPum.con.and2.y,hexPum.con.greThr.greHys.y,$PRE.hexPum.con.greThr.greHys.y,uEnaColRej.y,uHeaRej.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 591 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,10), (1,4), (1,10), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001995/2.195, allocations: 0.6124 MB / 1.493 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003019/2.198, allocations: 0.814 MB / 1.494 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02322/2.221, allocations: 7.303 MB / 1.501 GB, free: 5.957 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01379/2.235, allocations: 5.558 MB / 1.507 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/2.235, allocations: 0 / 1.507 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004516/2.239, allocations: 1.572 MB / 1.508 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002511/2.242, allocations: 107.9 kB / 1.508 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005591/2.248, allocations: 287.6 kB / 1.509 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/2.249, allocations: 371.1 kB / 1.509 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01871/2.267, allocations: 6.379 MB / 1.515 GB, free: 7.426 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0219/2.289, allocations: 9.338 MB / 1.524 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006056/2.295, allocations: 2.691 MB / 1.527 GB, free: 11.25 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01131/2.307, allocations: 4.829 MB / 1.532 GB, free: 6.457 MB / 1.154 GB Notification: Performance of Backend: time 4.61e-07/2.307, allocations: 0 / 1.532 GB, free: 6.457 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02808/2.335, allocations: 9.395 MB / 1.541 GB, free: 13.19 MB / 1.17 GB Notification: Performance of SimCode: time 0.395/2.73, allocations: 17.74 MB / 1.558 GB, free: 0.5156 GB / 1.17 GB Notification: Performance of Templates: time 0.2726/3.003, allocations: 189.1 MB / 1.743 GB, free: 398.8 MB / 1.17 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.sim & ./Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe 2>&1)