Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008503/0.0008504, 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.006389/0.006389, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.029/1.029, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 11.98 kB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 83.4 MB / 0.5978 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4321/0.6104, allocations: 127.9 MB / 0.7227 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04227/0.6527, allocations: 25.05 MB / 0.7472 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006409/0.6591, allocations: 120.1 kB / 0.7473 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005673/0.6648, allocations: 1.418 MB / 0.7487 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01527/0.6801, allocations: 4.214 MB / 0.7528 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.6907, allocations: 3.194 MB / 0.7559 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01547/0.7062, allocations: 11.43 MB / 0.7671 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004684/0.7109, allocations: 2.545 MB / 0.7696 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007135/0.718, allocations: 2.765 MB / 0.7723 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004584/0.7227, allocations: 2.317 MB / 0.7745 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009776/0.7237, allocations: 132 kB / 0.7747 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009249/0.7329, allocations: 2.476 MB / 0.7771 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.7349, allocations: 0.6143 MB / 0.7777 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004995/0.7399, allocations: 1.731 MB / 0.7794 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.7529, allocations: 6.355 MB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7529, allocations: 3.938 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.753, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001086/0.7531, allocations: 8 kB / 0.7856 GB, free: 11.73 MB / 0.6075 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.009846/0.7629, allocations: 3.387 MB / 0.7889 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.292e-05/0.763, allocations: 8.031 kB / 0.7889 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/0.7774, allocations: 1.374 MB / 0.7902 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008832/0.7863, allocations: 2.945 MB / 0.7931 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005177/0.7868, allocations: 252 kB / 0.7933 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.7879, allocations: 236 kB / 0.7936 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.8009, allocations: 3.207 MB / 0.7967 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.8011, allocations: 3.938 kB / 0.7967 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007235/0.8018, allocations: 104 kB / 0.7968 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.8021, allocations: 71.94 kB / 0.7969 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.816, allocations: 2.831 MB / 0.7996 GB, free: 12.93 MB / 0.6231 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.02898/0.8451, allocations: 13.66 MB / 0.813 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/0.8496, allocations: 1.438 MB / 0.8144 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.8527, allocations: 0.8925 MB / 0.8153 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/0.8545, allocations: 1.785 MB / 0.817 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003814/0.8584, allocations: 1.158 MB / 0.8181 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 4.548e-06/0.8584, allocations: 0 / 0.8181 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.03451/0.8929, allocations: 9.823 MB / 0.8277 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002719/0.8932, allocations: 0.5805 MB / 0.8283 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/0.8979, allocations: 2.616 MB / 0.8308 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.8983, allocations: 61.7 kB / 0.8309 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.8996, allocations: 1.358 MB / 0.8322 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/0.9002, allocations: 457.5 kB / 0.8327 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.9006, allocations: 145.6 kB / 0.8328 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.9007, allocations: 309 kB / 0.8331 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.9043, allocations: 0.9603 MB / 0.834 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/0.9086, allocations: 1.561 MB / 0.8356 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/0.9159, allocations: 2.235 MB / 0.8377 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.9159, allocations: 4 kB / 0.8377 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01237/0.9283, allocations: 3.172 MB / 0.8408 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003708/0.9287, allocations: 497.8 kB / 0.8413 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.9288, allocations: 16 kB / 0.8413 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/0.932, allocations: 0.9219 MB / 0.8422 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.9347, allocations: 483.2 kB / 0.8427 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.9379, allocations: 2.2 MB / 0.8448 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/0.9428, allocations: 401.1 kB / 0.8452 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/0.9431, allocations: 111.9 kB / 0.8453 GB, free: 12.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.9431, allocations: 1.562 kB / 0.8453 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01097/0.9541, allocations: 2.884 MB / 0.8482 GB, free: 9.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.9541, allocations: 12 kB / 0.8482 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003104/0.9572, allocations: 0.9466 MB / 0.8491 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.9599, allocations: 475.2 kB / 0.8495 GB, free: 7.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.963, allocations: 2.186 MB / 0.8517 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/0.9673, allocations: 355.4 kB / 0.852 GB, free: 5.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.9677, allocations: 103.9 kB / 0.8521 GB, free: 5.008 MB / 0.67 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 (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 (170): * Single equations (assignments): 167 * 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 {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001608/0.9693, allocations: 0.7042 MB / 0.8528 GB, free: 4.293 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007412/0.97, allocations: 284.6 kB / 0.8531 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007929/0.978, allocations: 2.315 MB / 0.8553 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.978, allocations: 16 kB / 0.8553 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.978, allocations: 4 kB / 0.8554 GB, free: 1.66 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3271/1.305, allocations: 1.927 MB / 0.8572 GB, free: 201.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.319, allocations: 6.283 MB / 0.8634 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.319, allocations: 8.406 kB / 0.8634 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.321, allocations: 295.2 kB / 0.8637 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/1.324, allocations: 0.7954 MB / 0.8644 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/1.324, allocations: 60.34 kB / 0.8645 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/1.326, allocations: 1.967 MB / 0.8664 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.326, allocations: 8.219 kB / 0.8664 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.337, allocations: 3.556 MB / 0.8699 GB, free: 198.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.339, allocations: 0.6598 MB / 0.8705 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005496/1.34, allocations: 40.38 kB / 0.8706 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/1.343, allocations: 276.6 kB / 0.8708 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.343, allocations: 127.2 kB / 0.871 GB, free: 197.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.343, allocations: 75.91 kB / 0.871 GB, free: 197.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003034/1.346, allocations: 1.835 MB / 0.8728 GB, free: 197 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.423e-06/1.346, allocations: 1.219 kB / 0.8728 GB, free: 197 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005268/1.352, allocations: 1.484 MB / 0.8743 GB, free: 196.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (86): * Single equations (assignments): 80 * 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), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/1.354, allocations: 0.8242 MB / 0.8751 GB, free: 196.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.366, allocations: 3.683 MB / 0.8787 GB, free: 195.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/1.366, allocations: 3.406 kB / 0.8787 GB, free: 195.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003805/1.37, allocations: 1.064 MB / 0.8797 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/1.381, allocations: 1.583 MB / 0.8813 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.395, allocations: 6.311 MB / 0.8874 GB, free: 191.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.396, allocations: 1.723 MB / 0.8891 GB, free: 190.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00427/1.4, allocations: 0.658 MB / 0.8898 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009345/1.401, allocations: 251.4 kB / 0.89 GB, free: 190.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.212e-06/1.401, allocations: 0 / 0.89 GB, free: 190.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1199/1.521, allocations: 74.95 MB / 0.9632 GB, free: 143 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)