Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4514/0.4514, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 109.6 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 47.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2924, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.04902/0.3414, allocations: 69.47 MB / 0.6253 GB, free: 7.508 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02018/0.3617, allocations: 14.63 MB / 0.6396 GB, free: 8.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.3644, allocations: 67.56 kB / 0.6397 GB, free: 8.773 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.3672, allocations: 0.7576 MB / 0.6404 GB, free: 8.012 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.3738, allocations: 2.339 MB / 0.6427 GB, free: 5.668 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.3784, allocations: 1.78 MB / 0.6444 GB, free: 3.906 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006334/0.3847, allocations: 5.893 MB / 0.6502 GB, free: 14 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.3869, allocations: 1.338 MB / 0.6515 GB, free: 12.62 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.3899, allocations: 1.49 MB / 0.6529 GB, free: 11.13 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.392, allocations: 1.24 MB / 0.6542 GB, free: 9.883 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.3924, allocations: 88 kB / 0.6542 GB, free: 9.797 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.3964, allocations: 1.758 MB / 0.656 GB, free: 8.035 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005452/0.3969, allocations: 366.5 kB / 0.6563 GB, free: 7.676 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.3986, allocations: 0.9057 MB / 0.6572 GB, free: 6.766 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.4042, allocations: 3.409 MB / 0.6605 GB, free: 3.348 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4042, allocations: 4 kB / 0.6605 GB, free: 3.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4042, allocations: 0 / 0.6605 GB, free: 3.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.233e-05/0.4043, allocations: 0 / 0.6605 GB, free: 3.344 MB / 474.7 MB 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.00515/0.4095, allocations: 2.302 MB / 0.6628 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4095, allocations: 8.031 kB / 0.6628 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.4144, allocations: 0.6504 MB / 0.6634 GB, free: 320 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.4175, allocations: 1.561 MB / 0.6649 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.4177, allocations: 120 kB / 0.6651 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.418, allocations: 120 kB / 0.6652 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.4218, allocations: 1.627 MB / 0.6668 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.4218, allocations: 3.938 kB / 0.6668 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4219, allocations: 52 kB / 0.6668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.422, allocations: 43.92 kB / 0.6669 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004305/0.4263, allocations: 1.413 MB / 0.6682 GB, free: 11.21 MB / 490.7 MB 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.009589/0.4359, allocations: 7.171 MB / 0.6752 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.4381, allocations: 0.7907 MB / 0.676 GB, free: 2.863 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.4396, allocations: 482.8 kB / 0.6765 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.4407, allocations: 1.278 MB / 0.6777 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4408, allocations: 39.12 kB / 0.6778 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 2.935e-06/0.4408, allocations: 0 / 0.6778 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.009289/0.4501, allocations: 2.116 MB / 0.6798 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.4502, allocations: 115.3 kB / 0.6799 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.4526, allocations: 1.371 MB / 0.6813 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.4528, allocations: 45.7 kB / 0.6813 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/0.4534, allocations: 0.6842 MB / 0.682 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4537, allocations: 236.6 kB / 0.6822 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.4541, allocations: 222.3 kB / 0.6824 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4542, allocations: 334 kB / 0.6827 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.456, allocations: 492.5 kB / 0.6832 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.458, allocations: 0.7433 MB / 0.6839 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/0.4614, allocations: 1.094 MB / 0.685 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.4614, allocations: 4 kB / 0.685 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004744/0.4661, allocations: 1.507 MB / 0.6865 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4662, allocations: 11.94 kB / 0.6865 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4662, allocations: 8 kB / 0.6865 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.4677, allocations: 448.5 kB / 0.6869 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.4691, allocations: 251.5 kB / 0.6872 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4705, allocations: 1.062 MB / 0.6882 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.4729, allocations: 242.8 kB / 0.6884 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.473, allocations: 55.94 kB / 0.6885 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002467/0.4755, allocations: 0.7712 MB / 0.6892 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001948/0.4775, allocations: 0.7399 MB / 0.69 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003243/0.4807, allocations: 1.09 MB / 0.691 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.4807, allocations: 4 kB / 0.691 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004563/0.4853, allocations: 1.503 MB / 0.6925 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4853, allocations: 10.19 kB / 0.6925 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4853, allocations: 4.562 kB / 0.6925 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.4867, allocations: 459 kB / 0.6929 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.488, allocations: 243.6 kB / 0.6932 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.4894, allocations: 1.064 MB / 0.6942 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.4916, allocations: 203.3 kB / 0.6944 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4917, allocations: 51.95 kB / 0.6945 GB, free: 15.1 MB / 0.5105 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.0002914/0.492, allocations: 242.8 kB / 0.6947 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.4924, allocations: 150.2 kB / 0.6948 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.4963, allocations: 1.271 MB / 0.6961 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4963, allocations: 15.88 kB / 0.6961 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4963, allocations: 0 / 0.6961 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003242/0.4996, allocations: 1.076 MB / 0.6971 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007428/0.507, allocations: 3.387 MB / 0.7005 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.507, allocations: 7.938 kB / 0.7005 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/0.5079, allocations: 143.8 kB / 0.7006 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.5094, allocations: 443.4 kB / 0.701 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.5094, allocations: 19.98 kB / 0.701 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.5108, allocations: 1.064 MB / 0.7021 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5109, allocations: 4 kB / 0.7021 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.517, allocations: 2.667 MB / 0.7047 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/0.5178, allocations: 351 kB / 0.705 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/0.5181, allocations: 20 kB / 0.705 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.5198, allocations: 136 kB / 0.7052 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.52, allocations: 60.25 kB / 0.7052 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.5201, allocations: 43.95 kB / 0.7053 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001663/0.5218, allocations: 0.9576 MB / 0.7062 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5218, allocations: 0 / 0.7062 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00287/0.5247, allocations: 0.924 MB / 0.7071 GB, free: 1.719 MB / 0.5105 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.001374/0.526, allocations: 0.5405 MB / 0.7076 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2419/0.7679, allocations: 1.756 MB / 0.7093 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.768, allocations: 1.938 kB / 0.7094 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.7698, allocations: 0.5139 MB / 0.7099 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/0.7738, allocations: 0.7842 MB / 0.7106 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.7794, allocations: 3.45 MB / 0.714 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/0.7803, allocations: 1.225 MB / 0.7152 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001885/0.7822, allocations: 344.5 kB / 0.7155 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.7826, allocations: 119.3 kB / 0.7156 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/0.7826, allocations: 7.5 kB / 0.7156 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.04735/0.83, allocations: 37.86 MB / 0.7526 GB, free: 109.4 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)