Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008559/0.00856, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.418/1.418, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005127/0.0005127, allocations: 12 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.5798/0.8481, allocations: 127.9 MB / 0.9127 GB, free: 40.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03306/0.8812, allocations: 24.79 MB / 0.937 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00663/0.8879, allocations: 123.1 kB / 0.9371 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005533/0.8935, allocations: 1.413 MB / 0.9385 GB, free: 40.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.9079, allocations: 4.135 MB / 0.9425 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.9188, allocations: 3.209 MB / 0.9456 GB, free: 39.76 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01612/0.935, allocations: 11.4 MB / 0.9568 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004859/0.9399, allocations: 2.513 MB / 0.9592 GB, free: 35.74 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006811/0.9467, allocations: 2.759 MB / 0.9619 GB, free: 34.89 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005156/0.9519, allocations: 2.297 MB / 0.9641 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007802/0.9527, allocations: 127.4 kB / 0.9643 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00892/0.9616, allocations: 2.474 MB / 0.9667 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.9627, allocations: 0.6214 MB / 0.9673 GB, free: 32.92 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.9656, allocations: 1.703 MB / 0.969 GB, free: 31.86 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008596/0.9742, allocations: 6.025 MB / 0.9748 GB, free: 28.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.9743, allocations: 0 / 0.9748 GB, free: 28.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9743, allocations: 0 / 0.9748 GB, free: 28.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.922e-05/0.9743, allocations: 0 / 0.9748 GB, free: 28.02 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.005255/0.9796, allocations: 3.362 MB / 0.9781 GB, free: 25.58 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9797, allocations: 14.03 kB / 0.9781 GB, free: 25.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009497/0.9892, allocations: 1.37 MB / 0.9795 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/0.9934, allocations: 2.899 MB / 0.9823 GB, free: 22.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.9937, allocations: 260.6 kB / 0.9826 GB, free: 22.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004752/0.9942, allocations: 236.4 kB / 0.9828 GB, free: 22.56 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/1.002, allocations: 3.171 MB / 0.9859 GB, free: 20.51 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/1.002, allocations: 5.969 kB / 0.9859 GB, free: 20.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/1.003, allocations: 106.2 kB / 0.986 GB, free: 20.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/1.003, allocations: 74.77 kB / 0.9861 GB, free: 20.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007971/1.011, allocations: 2.78 MB / 0.9888 GB, free: 19.03 MB / 0.7169 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.0188/1.03, allocations: 13.31 MB / 1.002 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/1.033, allocations: 1.428 MB / 1.003 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/1.036, allocations: 0.901 MB / 1.004 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.037, allocations: 1.78 MB / 1.006 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003228/1.041, allocations: 1.173 MB / 1.007 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 7.724e-06/1.041, allocations: 0 / 1.007 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.02179/1.063, allocations: 4.281 MB / 1.011 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000314/1.063, allocations: 0.5883 MB / 1.012 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005698/1.069, allocations: 2.497 MB / 1.014 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004885/1.069, allocations: 65.7 kB / 1.014 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.071, allocations: 1.328 MB / 1.015 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008243/1.072, allocations: 449 kB / 1.016 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/1.072, allocations: 145.6 kB / 1.016 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.072, allocations: 309.1 kB / 1.016 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/1.076, allocations: 0.9681 MB / 1.017 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/1.081, allocations: 1.575 MB / 1.019 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/1.088, allocations: 2.226 MB / 1.021 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.088, allocations: 4 kB / 1.021 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01295/1.101, allocations: 3.098 MB / 1.024 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000387/1.101, allocations: 486 kB / 1.024 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.101, allocations: 15.94 kB / 1.025 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/1.104, allocations: 0.7208 MB / 1.025 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/1.107, allocations: 0.4992 MB / 1.026 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/1.11, allocations: 1.809 MB / 1.027 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/1.115, allocations: 0.506 MB / 1.028 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/1.116, allocations: 111.9 kB / 1.028 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.116, allocations: 4 kB / 1.028 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01139/1.127, allocations: 2.815 MB / 1.031 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.127, allocations: 12 kB / 1.031 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/1.13, allocations: 0.7209 MB / 1.032 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/1.133, allocations: 0.4914 MB / 1.032 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/1.135, allocations: 1.812 MB / 1.034 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00501/1.14, allocations: 461.9 kB / 1.034 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/1.141, allocations: 99.91 kB / 1.034 GB, free: 5.125 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.00194/1.143, allocations: 0.7003 MB / 1.035 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009669/1.144, allocations: 272.7 kB / 1.035 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.156, allocations: 2.603 MB / 1.038 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/1.156, allocations: 12 kB / 1.038 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.156, allocations: 4 kB / 1.038 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01053/1.167, allocations: 2.235 MB / 1.04 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.183, allocations: 6.498 MB / 1.046 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.183, allocations: 8 kB / 1.046 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.185, allocations: 295.8 kB / 1.047 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/1.188, allocations: 0.7091 MB / 1.047 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.188, allocations: 55.89 kB / 1.047 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/1.19, allocations: 1.79 MB / 1.049 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.19, allocations: 15.92 kB / 1.049 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.202, allocations: 3.572 MB / 1.053 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.203, allocations: 0.6535 MB / 1.053 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007494/1.204, allocations: 43.92 kB / 1.053 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/1.208, allocations: 287 kB / 1.054 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.208, allocations: 112.7 kB / 1.054 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.208, allocations: 71.92 kB / 1.054 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003607/1.212, allocations: 1.758 MB / 1.055 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.1e-07/1.212, allocations: 0 / 1.055 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005855/1.218, allocations: 1.664 MB / 1.057 GB, free: 13.49 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002007/1.22, allocations: 0.8042 MB / 1.058 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.232, allocations: 3.617 MB / 1.061 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/1.232, allocations: 4.438 kB / 1.061 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/1.236, allocations: 1.047 MB / 1.062 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/1.246, allocations: 1.457 MB / 1.064 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.26, allocations: 6.403 MB / 1.07 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/1.262, allocations: 1.711 MB / 1.072 GB, free: 14.38 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003997/1.266, allocations: 0.6899 MB / 1.072 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007592/1.266, allocations: 243.3 kB / 1.073 GB, free: 13.47 MB / 0.795 GB Notification: Performance of SimCode: time 1.102e-06/1.266, allocations: 0 / 1.073 GB, free: 13.47 MB / 0.795 GB Notification: Performance of Templates: time 0.1086/1.375, allocations: 68.48 MB / 1.14 GB, free: 9.828 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: