Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001459/0.001459, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.609/1.609, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0008969/0.0008968, allocations: 93.48 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.629e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.6438, allocations: 115.3 MB / 0.9644 GB, free: 79.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9134/1.557, allocations: 423.2 MB / 1.378 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/1.558, allocations: 90.08 kB / 1.378 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.63/5.188, allocations: 1.038 GB / 2.415 GB, free: 103.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.023e-06/5.188, allocations: 0 / 2.415 GB, free: 103.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003346/5.188, allocations: 79.39 kB / 2.415 GB, free: 103.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009186/5.197, allocations: 3.202 MB / 2.418 GB, free: 102.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/5.197, allocations: 9.875 kB / 2.418 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008885/5.206, allocations: 1.215 MB / 2.42 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/5.213, allocations: 3.296 MB / 2.423 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/5.214, allocations: 171.8 kB / 2.423 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/5.214, allocations: 138.2 kB / 2.423 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003567/5.218, allocations: 1.992 MB / 2.425 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003966/5.222, allocations: 2.497 MB / 2.428 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/5.222, allocations: 11.94 kB / 2.428 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/5.222, allocations: 7.219 kB / 2.428 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/5.222, allocations: 68.55 kB / 2.428 GB, free: 101.1 MB / 0.948 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.01753/5.239, allocations: 12.82 MB / 2.44 GB, free: 95.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/5.241, allocations: 1.154 MB / 2.441 GB, free: 95.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/5.242, allocations: 0.5768 MB / 2.442 GB, free: 95.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/5.243, allocations: 1.775 MB / 2.444 GB, free: 93.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/5.244, allocations: 0.9028 MB / 2.444 GB, free: 92.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.166e-06/5.244, allocations: 1.969 kB / 2.444 GB, free: 92.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.02029/5.265, allocations: 10.5 MB / 2.455 GB, free: 86.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002308/5.265, allocations: 0.9368 MB / 2.456 GB, free: 85.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/5.267, allocations: 1.83 MB / 2.457 GB, free: 85.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/5.268, allocations: 34.58 kB / 2.457 GB, free: 85.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/5.269, allocations: 1.39 MB / 2.459 GB, free: 84.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/5.269, allocations: 405.7 kB / 2.459 GB, free: 84.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/5.269, allocations: 0 / 2.459 GB, free: 84.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001/5.269, allocations: 370.6 kB / 2.46 GB, free: 84.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/5.27, allocations: 0.5759 MB / 2.46 GB, free: 84.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/5.271, allocations: 1.2 MB / 2.461 GB, free: 83.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/5.275, allocations: 0.9504 MB / 2.462 GB, free: 83.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/5.275, allocations: 3.781 kB / 2.462 GB, free: 83.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005837/5.281, allocations: 2.34 MB / 2.465 GB, free: 83.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009941/5.282, allocations: 5.123 MB / 2.47 GB, free: 78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/5.282, allocations: 12.59 kB / 2.47 GB, free: 78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/5.283, allocations: 0.724 MB / 2.47 GB, free: 77.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/5.285, allocations: 461.3 kB / 2.471 GB, free: 77.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/5.289, allocations: 2.266 MB / 2.473 GB, free: 76.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/5.293, allocations: 368 kB / 2.473 GB, free: 76.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/5.294, allocations: 110 kB / 2.473 GB, free: 76.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/5.294, allocations: 6.469 kB / 2.473 GB, free: 76.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005485/5.299, allocations: 2.047 MB / 2.475 GB, free: 76.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/5.299, allocations: 14.81 kB / 2.475 GB, free: 76.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/5.3, allocations: 0.7174 MB / 2.476 GB, free: 76.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/5.303, allocations: 442.8 kB / 2.476 GB, free: 76.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/5.306, allocations: 2.276 MB / 2.479 GB, free: 75.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/5.31, allocations: 300.6 kB / 2.479 GB, free: 75.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/5.311, allocations: 107 kB / 2.479 GB, free: 75.72 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006726/5.311, allocations: 158.6 kB / 2.479 GB, free: 75.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/5.312, allocations: 249.5 kB / 2.479 GB, free: 75.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/5.318, allocations: 1.829 MB / 2.481 GB, free: 75.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/5.318, allocations: 15.56 kB / 2.481 GB, free: 75.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/5.318, allocations: 7.781 kB / 2.481 GB, free: 75.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004664/5.323, allocations: 1.664 MB / 2.483 GB, free: 75.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/5.337, allocations: 6.157 MB / 2.489 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/5.337, allocations: 10.28 kB / 2.489 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/5.339, allocations: 278.1 kB / 2.489 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/5.34, allocations: 0.6 MB / 2.49 GB, free: 73.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/5.34, allocations: 37.69 kB / 2.49 GB, free: 73.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/5.343, allocations: 2.029 MB / 2.492 GB, free: 72.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/5.343, allocations: 10.97 kB / 2.492 GB, free: 72.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/5.351, allocations: 3.308 MB / 2.495 GB, free: 70.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/5.353, allocations: 0.6034 MB / 2.496 GB, free: 70.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/5.354, allocations: 17.77 kB / 2.496 GB, free: 70.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00381/5.358, allocations: 250.8 kB / 2.496 GB, free: 70.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/5.358, allocations: 112.6 kB / 2.496 GB, free: 70.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/5.358, allocations: 75.8 kB / 2.496 GB, free: 70.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004096/5.363, allocations: 1.372 MB / 2.497 GB, free: 70.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/5.363, allocations: 3.156 kB / 2.497 GB, free: 70.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009764/5.372, allocations: 1.561 MB / 2.499 GB, free: 70.37 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003886/5.376, allocations: 1.473 MB / 2.5 GB, free: 69.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006454/5.383, allocations: 2.779 MB / 2.503 GB, free: 69.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/5.383, allocations: 4.562 kB / 2.503 GB, free: 69.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/5.385, allocations: 0.8397 MB / 2.504 GB, free: 69.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00729/5.392, allocations: 1.099 MB / 2.505 GB, free: 69.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/5.404, allocations: 3.739 MB / 2.509 GB, free: 68.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/5.406, allocations: 1.773 MB / 2.51 GB, free: 67.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005372/5.412, allocations: 0.7156 MB / 2.511 GB, free: 67.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/5.412, allocations: 166.9 kB / 2.511 GB, free: 67.88 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/5.412, allocations: 0 / 2.511 GB, free: 67.88 MB / 0.948 GB Notification: Performance of Templates: time 0.09895/5.511, allocations: 64.55 MB / 2.574 GB, free: 63.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)