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.001008/0.001008, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 177.4 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.266 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.004/1.004, allocations: 143.2 MB / 435.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003439, allocations: 8 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 83.41 MB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4073/0.5699, allocations: 127.9 MB / 0.7234 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03823/0.6082, allocations: 25.04 MB / 0.7478 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006333/0.6146, allocations: 124.6 kB / 0.748 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005051/0.6196, allocations: 1.418 MB / 0.7493 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.6333, allocations: 4.212 MB / 0.7535 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009101/0.6424, allocations: 3.196 MB / 0.7566 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01541/0.6579, allocations: 11.43 MB / 0.7677 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004817/0.6627, allocations: 2.536 MB / 0.7702 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007988/0.6707, allocations: 2.769 MB / 0.7729 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004772/0.6756, allocations: 2.313 MB / 0.7752 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.6766, allocations: 132 kB / 0.7753 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007861/0.6845, allocations: 2.479 MB / 0.7777 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.6859, allocations: 0.626 MB / 0.7783 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003386/0.6893, allocations: 1.72 MB / 0.78 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007756/0.6971, allocations: 5.155 MB / 0.7851 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6971, allocations: 0 / 0.7851 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6971, allocations: 4 kB / 0.7851 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001326/0.6973, allocations: 0 / 0.7851 GB, free: 12.93 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.007609/0.7049, allocations: 3.394 MB / 0.7884 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7049, allocations: 12.03 kB / 0.7884 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.7153, allocations: 1.378 MB / 0.7897 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/0.7209, allocations: 2.939 MB / 0.7926 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.7212, allocations: 252 kB / 0.7928 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/0.7217, allocations: 240 kB / 0.7931 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007946/0.7296, allocations: 3.207 MB / 0.7962 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.7297, allocations: 7.938 kB / 0.7962 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.73, allocations: 104 kB / 0.7963 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/0.7301, allocations: 63.98 kB / 0.7964 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009129/0.7392, allocations: 2.838 MB / 0.7991 GB, free: 14.11 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.02126/0.7605, allocations: 13.64 MB / 0.8125 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.7648, allocations: 1.446 MB / 0.8139 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.7679, allocations: 0.8886 MB / 0.8147 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/0.7698, allocations: 1.785 MB / 0.8165 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003634/0.7734, allocations: 1.159 MB / 0.8176 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 6.402e-06/0.7735, allocations: 3.938 kB / 0.8176 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.03588/0.8093, allocations: 9.832 MB / 0.8272 GB, free: 88 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003147/0.8097, allocations: 0.5805 MB / 0.8278 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.8147, allocations: 2.608 MB / 0.8303 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.8151, allocations: 69.69 kB / 0.8304 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.8165, allocations: 1.348 MB / 0.8317 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000687/0.8172, allocations: 465.4 kB / 0.8322 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.8176, allocations: 149.6 kB / 0.8323 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.8177, allocations: 305.1 kB / 0.8326 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/0.8215, allocations: 0.9603 MB / 0.8335 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004219/0.8258, allocations: 1.561 MB / 0.8351 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007372/0.8332, allocations: 2.24 MB / 0.8372 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/0.8333, allocations: 4 kB / 0.8372 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01246/0.8457, allocations: 3.175 MB / 0.8403 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003508/0.8461, allocations: 482.1 kB / 0.8408 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.8461, allocations: 12 kB / 0.8408 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003218/0.8494, allocations: 0.934 MB / 0.8417 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/0.8522, allocations: 483.2 kB / 0.8422 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.8555, allocations: 2.196 MB / 0.8443 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/0.8606, allocations: 399.9 kB / 0.8447 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/0.8611, allocations: 107.9 kB / 0.8448 GB, free: 13.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8611, allocations: 4 kB / 0.8448 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01153/0.8726, allocations: 2.887 MB / 0.8476 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/0.8727, allocations: 12 kB / 0.8477 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/0.8759, allocations: 0.9408 MB / 0.8486 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.8787, allocations: 471.2 kB / 0.849 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.8819, allocations: 2.183 MB / 0.8512 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.8863, allocations: 363.4 kB / 0.8515 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/0.8867, allocations: 103.9 kB / 0.8516 GB, free: 6.207 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.001597/0.8883, allocations: 0.7037 MB / 0.8523 GB, free: 5.492 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/0.889, allocations: 280.6 kB / 0.8526 GB, free: 5.215 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/0.8969, allocations: 2.317 MB / 0.8548 GB, free: 2.879 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.897, allocations: 19.94 kB / 0.8548 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.897, allocations: 0 / 0.8548 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006394/0.9034, allocations: 1.932 MB / 0.8567 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3179/1.221, allocations: 6.281 MB / 0.8629 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.221, allocations: 10.84 kB / 0.8629 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.223, allocations: 298.2 kB / 0.8632 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/1.226, allocations: 0.7947 MB / 0.8639 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.226, allocations: 52.81 kB / 0.864 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/1.228, allocations: 1.966 MB / 0.8659 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.228, allocations: 10.91 kB / 0.8659 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.24, allocations: 3.56 MB / 0.8694 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.241, allocations: 0.6632 MB / 0.87 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/1.242, allocations: 38.36 kB / 0.8701 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/1.245, allocations: 283.7 kB / 0.8703 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/1.245, allocations: 114.3 kB / 0.8705 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.246, allocations: 74.97 kB / 0.8705 GB, free: 199.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002839/1.249, allocations: 1.838 MB / 0.8723 GB, free: 198.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.249, allocations: 0 / 0.8723 GB, free: 198.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004646/1.253, allocations: 1.483 MB / 0.8738 GB, free: 198.4 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.001724/1.255, allocations: 0.8239 MB / 0.8746 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.267, allocations: 3.69 MB / 0.8782 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.267, allocations: 3.156 kB / 0.8782 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003451/1.27, allocations: 1.007 MB / 0.8792 GB, free: 196.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/1.281, allocations: 1.583 MB / 0.8807 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.295, allocations: 6.346 MB / 0.8869 GB, free: 193.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.296, allocations: 1.718 MB / 0.8886 GB, free: 192.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.297, allocations: 289.2 kB / 0.8889 GB, free: 192.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/1.297, allocations: 1.344 kB / 0.8889 GB, free: 192.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1074/1.405, allocations: 82.82 MB / 0.9697 GB, free: 137.2 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)