Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007783/0.0007783, allocations: 88.02 kB / 16.66 MB, free: 6.586 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.0007909/0.0007911, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.361/1.361, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7537/0.7537, allocations: 115.5 MB / 408.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4401, allocations: 77.52 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06481/0.5049, allocations: 68.26 MB / 0.6272 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0265/0.5315, allocations: 14.5 MB / 0.6414 GB, free: 468 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003947/0.5355, allocations: 63.62 kB / 0.6415 GB, free: 404 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.5387, allocations: 0.7576 MB / 0.6422 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008827/0.5476, allocations: 2.355 MB / 0.6445 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006029/0.5536, allocations: 1.802 MB / 0.6463 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008508/0.5622, allocations: 5.939 MB / 0.6521 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/0.5652, allocations: 1.299 MB / 0.6533 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/0.5694, allocations: 1.443 MB / 0.6547 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.5722, allocations: 1.209 MB / 0.6559 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006575/0.5729, allocations: 68 kB / 0.656 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.5782, allocations: 1.748 MB / 0.6577 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.5792, allocations: 334.4 kB / 0.658 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.5817, allocations: 0.9035 MB / 0.6589 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.5869, allocations: 2.661 MB / 0.6615 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5869, allocations: 0 / 0.6615 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.587, allocations: 0 / 0.6615 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001095/0.5871, allocations: 0 / 0.6615 GB, free: 11.83 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005616/0.5927, allocations: 2.001 MB / 0.6634 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.5928, allocations: 12.03 kB / 0.6634 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005405/0.5982, allocations: 0.6934 MB / 0.6641 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.6018, allocations: 1.565 MB / 0.6657 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.6021, allocations: 128 kB / 0.6658 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.6025, allocations: 131.9 kB / 0.6659 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/0.6075, allocations: 1.656 MB / 0.6675 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.6075, allocations: 3.938 kB / 0.6675 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.6077, allocations: 55.98 kB / 0.6676 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.6078, allocations: 40 kB / 0.6676 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.6129, allocations: 1.499 MB / 0.6691 GB, free: 3.812 MB / 0.4981 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.01247/0.6254, allocations: 6.992 MB / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.6278, allocations: 0.7868 MB / 0.6767 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.6296, allocations: 0.5061 MB / 0.6772 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.6311, allocations: 1.271 MB / 0.6784 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002054/0.6332, allocations: 0.6714 MB / 0.6791 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/0.6332, allocations: 0 / 0.6791 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.01074/0.6439, allocations: 2.185 MB / 0.6812 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.6442, allocations: 325 kB / 0.6815 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.6468, allocations: 1.391 MB / 0.6829 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.647, allocations: 45.7 kB / 0.6829 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.6477, allocations: 0.6997 MB / 0.6836 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.648, allocations: 244.6 kB / 0.6838 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.6481, allocations: 81.61 kB / 0.6839 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6483, allocations: 341.9 kB / 0.6842 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.6502, allocations: 0.5328 MB / 0.6848 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.6524, allocations: 0.8335 MB / 0.6856 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.6563, allocations: 1.212 MB / 0.6868 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.6563, allocations: 3.984 kB / 0.6868 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006783/0.6631, allocations: 1.689 MB / 0.6884 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.6634, allocations: 302.5 kB / 0.6887 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6634, allocations: 4 kB / 0.6887 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.6649, allocations: 375.7 kB / 0.6891 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.6663, allocations: 279.5 kB / 0.6893 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.6677, allocations: 0.9025 MB / 0.6902 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/0.6703, allocations: 289.8 kB / 0.6905 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.6704, allocations: 63.92 kB / 0.6905 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6705, allocations: 9.875 kB / 0.6905 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006079/0.6765, allocations: 1.537 MB / 0.692 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.6766, allocations: 12.09 kB / 0.6921 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.6779, allocations: 365.9 kB / 0.6924 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.6794, allocations: 279.5 kB / 0.6927 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.6807, allocations: 0.9075 MB / 0.6936 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.6832, allocations: 254.8 kB / 0.6938 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.6834, allocations: 51.95 kB / 0.6939 GB, free: 9.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.6845, allocations: 460.8 kB / 0.6943 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005307/0.6851, allocations: 146.2 kB / 0.6944 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.6896, allocations: 1.277 MB / 0.6957 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.6897, allocations: 8 kB / 0.6957 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6897, allocations: 0 / 0.6957 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003589/0.6933, allocations: 1.092 MB / 0.6968 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008589/0.7019, allocations: 3.334 MB / 0.7 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.7019, allocations: 4 kB / 0.7 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.7029, allocations: 168 kB / 0.7002 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.7043, allocations: 367 kB / 0.7005 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.818e-05/0.7044, allocations: 39.91 kB / 0.7006 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.7057, allocations: 0.8958 MB / 0.7014 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/0.7057, allocations: 7.938 kB / 0.7014 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006245/0.712, allocations: 1.961 MB / 0.7034 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.7131, allocations: 402.7 kB / 0.7037 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/0.7137, allocations: 23.98 kB / 0.7038 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/0.7158, allocations: 159.9 kB / 0.7039 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.716, allocations: 64.23 kB / 0.704 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.7161, allocations: 43.95 kB / 0.704 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002326/0.7184, allocations: 0.9901 MB / 0.705 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7185, allocations: 0 / 0.705 GB, free: 13.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003497/0.722, allocations: 0.9046 MB / 0.7059 GB, free: 12.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/0.7236, allocations: 0.5463 MB / 0.7064 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007025/0.7306, allocations: 2.023 MB / 0.7084 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/0.7307, allocations: 4 kB / 0.7084 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.7327, allocations: 0.5565 MB / 0.7089 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/0.7384, allocations: 0.8088 MB / 0.7097 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/0.7458, allocations: 3.345 MB / 0.713 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.747, allocations: 1.211 MB / 0.7142 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/0.7477, allocations: 151.3 kB / 0.7143 GB, free: 3.863 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/0.7477, allocations: 0 / 0.7143 GB, free: 3.863 MB / 0.545 GB Notification: Performance of Templates: time 0.348/1.096, allocations: 36.48 MB / 0.7499 GB, free: 163 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)