Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 174.4 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000767/0.0007669, allocations: 94.64 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003167, allocations: 11.44 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2229, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.04847/0.2714, allocations: 69.14 MB / 0.9643 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.2923, allocations: 14.82 MB / 0.9787 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.2952, allocations: 63.56 kB / 0.9788 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.2976, allocations: 0.7537 MB / 0.9795 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.3052, allocations: 2.329 MB / 0.9818 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005471/0.3107, allocations: 1.794 MB / 0.9835 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008764/0.3195, allocations: 5.814 MB / 0.9892 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.323, allocations: 1.25 MB / 0.9904 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.3279, allocations: 1.443 MB / 0.9919 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.3307, allocations: 1.178 MB / 0.993 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005748/0.3313, allocations: 68 kB / 0.9931 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/0.336, allocations: 1.821 MB / 0.9948 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.3366, allocations: 334.4 kB / 0.9952 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.3383, allocations: 0.855 MB / 0.996 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.3423, allocations: 2.673 MB / 0.9986 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3423, allocations: 7.938 kB / 0.9986 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3423, allocations: 0 / 0.9986 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.059e-05/0.3424, allocations: 0 / 0.9986 GB, free: 11.49 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004173/0.3466, allocations: 1.967 MB / 1.001 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3466, allocations: 12.03 kB / 1.001 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.3517, allocations: 0.6857 MB / 1.001 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.3548, allocations: 1.53 MB / 1.003 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.3549, allocations: 132 kB / 1.003 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.3552, allocations: 124 kB / 1.003 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.3594, allocations: 1.626 MB / 1.005 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.3595, allocations: 7.875 kB / 1.005 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.3596, allocations: 52 kB / 1.005 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.3597, allocations: 35.94 kB / 1.005 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004681/0.3644, allocations: 1.468 MB / 1.006 GB, free: 3.617 MB / 0.6511 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.01289/0.3773, allocations: 7.198 MB / 1.013 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.3795, allocations: 0.8096 MB / 1.014 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3811, allocations: 0.5066 MB / 1.014 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.3824, allocations: 1.274 MB / 1.016 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3824, allocations: 39.69 kB / 1.016 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 2.925e-06/0.3824, allocations: 0 / 1.016 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.009766/0.3922, allocations: 2.256 MB / 1.018 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.3923, allocations: 111.4 kB / 1.018 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.3954, allocations: 1.367 MB / 1.019 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.3956, allocations: 37.7 kB / 1.019 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008758/0.3965, allocations: 0.6841 MB / 1.02 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.3968, allocations: 240.6 kB / 1.02 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.397, allocations: 73.67 kB / 1.02 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3971, allocations: 341.9 kB / 1.021 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.399, allocations: 0.4977 MB / 1.021 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.4011, allocations: 0.7744 MB / 1.022 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/0.4047, allocations: 1.148 MB / 1.023 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4047, allocations: 0 / 1.023 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005025/0.4097, allocations: 1.558 MB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.4099, allocations: 284.3 kB / 1.025 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.41, allocations: 4 kB / 1.025 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.4115, allocations: 443.2 kB / 1.025 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4129, allocations: 255.6 kB / 1.025 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.4144, allocations: 1.075 MB / 1.027 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.4168, allocations: 278.8 kB / 1.027 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.417, allocations: 55.94 kB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.417, allocations: 4 kB / 1.027 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004318/0.4213, allocations: 1.406 MB / 1.028 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.4213, allocations: 8 kB / 1.028 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.4227, allocations: 433.1 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.424, allocations: 255.6 kB / 1.029 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.4255, allocations: 1.083 MB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.4277, allocations: 250.7 kB / 1.03 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.4279, allocations: 55.95 kB / 1.03 GB, free: 9.738 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0008545/0.4287, allocations: 444.9 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.4292, allocations: 142.3 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.4332, allocations: 1.327 MB / 1.032 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.4333, allocations: 8 kB / 1.032 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4333, allocations: 3.938 kB / 1.032 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003277/0.4366, allocations: 1.135 MB / 1.033 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0079/0.4445, allocations: 3.41 MB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.4445, allocations: 4 kB / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000941/0.4455, allocations: 156 kB / 1.037 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.4469, allocations: 435.7 kB / 1.037 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/0.447, allocations: 27.97 kB / 1.037 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.4484, allocations: 1.075 MB / 1.038 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.4484, allocations: 7.938 kB / 1.038 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.4524, allocations: 1.393 MB / 1.04 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/0.4533, allocations: 347 kB / 1.04 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/0.4537, allocations: 27.92 kB / 1.04 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.4556, allocations: 153.7 kB / 1.04 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4557, allocations: 60.25 kB / 1.04 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.4558, allocations: 48.08 kB / 1.04 GB, free: 15.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001868/0.4577, allocations: 0.9613 MB / 1.041 GB, free: 14.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4577, allocations: 0 / 1.041 GB, free: 14.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002727/0.4604, allocations: 0.9279 MB / 1.042 GB, free: 13.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.4619, allocations: 0.5869 MB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006126/0.468, allocations: 1.853 MB / 1.044 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.468, allocations: 0 / 1.044 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.4698, allocations: 0.5335 MB / 1.045 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/0.4744, allocations: 0.7996 MB / 1.046 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.4804, allocations: 3.112 MB / 1.049 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000951/0.4813, allocations: 1.203 MB / 1.05 GB, free: 5.121 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.4818, allocations: 139.3 kB / 1.05 GB, free: 4.984 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.4818, allocations: 0 / 1.05 GB, free: 4.984 MB / 0.698 GB Notification: Performance of Templates: time 0.427/0.9089, allocations: 35.51 MB / 1.085 GB, free: 135.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)