Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 304.3 MB, free: 8.043 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.001014/0.001014, allocations: 179.4 kB / 372.9 MB, free: 10.12 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.332/1.332, allocations: 205.4 MB / 0.6316 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007553, allocations: 98.23 kB / 0.745 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003639, allocations: 12.75 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 115.3 MB / 0.9807 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.4876/0.6498, allocations: 103.4 MB / 1.082 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04152/0.6913, allocations: 29.88 MB / 1.111 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006661/0.698, allocations: 129.3 kB / 1.111 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00493/0.703, allocations: 1.241 MB / 1.112 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01417/0.7172, allocations: 3.862 MB / 1.116 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008876/0.7261, allocations: 2.477 MB / 1.118 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.054/0.7801, allocations: 50.93 MB / 1.168 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03055/0.8107, allocations: 18.52 MB / 1.186 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02488/0.8356, allocations: 11.49 MB / 1.197 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02351/0.8592, allocations: 11.74 MB / 1.209 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004981/0.8642, allocations: 0.7656 MB / 1.21 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/0.8781, allocations: 2.764 MB / 1.212 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006644/0.8847, allocations: 3.324 MB / 1.216 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01967/0.9044, allocations: 8.478 MB / 1.224 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03061/0.9351, allocations: 27.69 MB / 1.251 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.9351, allocations: 4 kB / 1.251 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9351, allocations: 6.734 kB / 1.251 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001122/0.9363, allocations: 0 / 1.251 GB, free: 1.352 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.03816/0.9745, allocations: 15.83 MB / 1.266 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9745, allocations: 8.031 kB / 1.266 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009334/0.9839, allocations: 1.956 MB / 1.268 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0294/1.013, allocations: 15.86 MB / 1.284 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009048/1.014, allocations: 0.9975 MB / 1.285 GB, free: 14.97 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004047/1.018, allocations: 1.338 MB / 1.286 GB, free: 13.64 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0429/1.061, allocations: 20.16 MB / 1.306 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005248/1.062, allocations: 39.66 kB / 1.306 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003792/1.066, allocations: 0.5417 MB / 1.306 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003872/1.066, allocations: 383.9 kB / 1.307 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04068/1.107, allocations: 18.08 MB / 1.324 GB, free: 5.867 MB / 0.8542 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.1339/1.241, allocations: 86.46 MB / 1.409 GB, free: 11.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/1.262, allocations: 12.94 MB / 1.421 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01291/1.275, allocations: 7.419 MB / 1.429 GB, free: 7.059 MB / 0.9636 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 evalFunc (simulation): time 0.7527/2.028, allocations: 26.85 MB / 1.455 GB, free: 320.4 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0117/2.039, allocations: 6.044 MB / 1.461 GB, free: 318.2 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007325/2.047, allocations: 0.8054 MB / 1.462 GB, free: 318.1 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=772): time 3.425e-05/2.047, allocations: 2.531 kB / 1.462 GB, free: 318.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=772): time 0.1093/2.156, allocations: 32.41 MB / 1.493 GB, free: 305.5 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/2.156, allocations: 159.5 kB / 1.493 GB, free: 305.4 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01933/2.176, allocations: 12.09 MB / 1.505 GB, free: 299.3 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/2.177, allocations: 198.8 kB / 1.505 GB, free: 299.2 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00597/2.183, allocations: 6.961 MB / 1.512 GB, free: 293.4 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00335/2.187, allocations: 2.693 MB / 1.515 GB, free: 291.1 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009772/2.188, allocations: 233.5 kB / 1.515 GB, free: 290.9 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0005545/2.188, allocations: 0.774 MB / 1.516 GB, free: 290.3 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009187/2.198, allocations: 6.238 MB / 1.522 GB, free: 284.7 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/2.209, allocations: 9.551 MB / 1.531 GB, free: 273.8 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/2.228, allocations: 15.9 MB / 1.547 GB, free: 256.4 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.899e-05/2.228, allocations: 31.94 kB / 1.547 GB, free: 256.4 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03267/2.261, allocations: 18.81 MB / 1.565 GB, free: 237.4 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001294/2.262, allocations: 3.088 MB / 1.568 GB, free: 233 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-05/2.262, allocations: 103 kB / 1.568 GB, free: 232.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06406/2.326, allocations: 9.039 MB / 1.577 GB, free: 223.8 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/2.336, allocations: 2.449 MB / 1.579 GB, free: 221.4 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/2.348, allocations: 10.38 MB / 1.59 GB, free: 210.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01235/2.36, allocations: 1.103 MB / 1.591 GB, free: 209.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/2.362, allocations: 0.5194 MB / 1.591 GB, free: 209.1 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/2.362, allocations: 4 kB / 1.591 GB, free: 209.1 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02761/2.39, allocations: 17.83 MB / 1.609 GB, free: 191.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/2.39, allocations: 96 kB / 1.609 GB, free: 191 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06431/2.455, allocations: 9.005 MB / 1.617 GB, free: 182 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009912/2.464, allocations: 2.453 MB / 1.62 GB, free: 179.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009929/2.474, allocations: 10.38 MB / 1.63 GB, free: 168.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/2.49, allocations: 1.076 MB / 1.631 GB, free: 167.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002838/2.493, allocations: 0.5155 MB / 1.632 GB, free: 167.3 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01083/2.504, allocations: 5.962 MB / 1.637 GB, free: 161.3 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003258/2.507, allocations: 1.146 MB / 1.638 GB, free: 160.2 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/2.53, allocations: 13.33 MB / 1.652 GB, free: 146.8 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.017/2.547, allocations: 11.01 MB / 1.662 GB, free: 135.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/2.547, allocations: 4 kB / 1.662 GB, free: 135.7 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01003/2.557, allocations: 2.911 MB / 1.665 GB, free: 132.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004454/2.561, allocations: 153.3 kB / 1.665 GB, free: 132.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/2.572, allocations: 0.8056 MB / 1.666 GB, free: 131.8 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002027/2.574, allocations: 461.5 kB / 1.666 GB, free: 131.4 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03044/2.604, allocations: 14.47 MB / 1.681 GB, free: 117 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03338/2.638, allocations: 18.85 MB / 1.699 GB, free: 98.05 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007706/2.646, allocations: 5.486 MB / 1.704 GB, free: 92.55 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01383/2.659, allocations: 8.328 MB / 1.713 GB, free: 84.25 MB / 0.9637 GB Notification: Performance of Backend: time 1.323e-06/2.659, allocations: 0 / 1.713 GB, free: 84.25 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04732/2.707, allocations: 19.66 MB / 1.732 GB, free: 64.7 MB / 0.9637 GB Notification: Performance of SimCode: time 0.07587/2.783, allocations: 40.72 MB / 1.771 GB, free: 24.02 MB / 0.9637 GB Notification: Performance of Templates: time 1.175/3.958, allocations: 308 MB / 2.072 GB, free: 68.91 MB / 0.9638 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)