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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 104.9 kB / 16.4 MB, free: 6.461 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.001622/0.001622, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.34 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1265, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.062/0.1886, allocations: 69.89 MB / 0.7003 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.2084, allocations: 14.46 MB / 0.7145 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.2112, allocations: 75.56 kB / 0.7145 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.2138, allocations: 0.92 MB / 0.7154 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006811/0.2207, allocations: 2.552 MB / 0.7179 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004809/0.2255, allocations: 1.968 MB / 0.7198 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00576/0.2313, allocations: 4.649 MB / 0.7244 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.2334, allocations: 1.602 MB / 0.7259 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.2368, allocations: 1.801 MB / 0.7277 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.2385, allocations: 1.276 MB / 0.7289 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.2388, allocations: 199.9 kB / 0.7291 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.2425, allocations: 1.974 MB / 0.7311 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.243, allocations: 462.5 kB / 0.7315 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.2444, allocations: 1.015 MB / 0.7325 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.2495, allocations: 3.487 MB / 0.7359 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2495, allocations: 7.938 kB / 0.7359 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2495, allocations: 0 / 0.7359 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.2495, allocations: 4 kB / 0.7359 GB, free: 9.719 MB / 0.5762 GB 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.00387/0.2534, allocations: 2.302 MB / 0.7382 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2535, allocations: 12.03 kB / 0.7382 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/0.2583, allocations: 0.6504 MB / 0.7388 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.2608, allocations: 1.576 MB / 0.7403 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.261, allocations: 132 kB / 0.7405 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2611, allocations: 120 kB / 0.7406 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.2649, allocations: 1.608 MB / 0.7422 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.2649, allocations: 4 kB / 0.7422 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.2651, allocations: 55.94 kB / 0.7422 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.2651, allocations: 39.88 kB / 0.7423 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004272/0.2694, allocations: 1.417 MB / 0.7436 GB, free: 1.57 MB / 0.5762 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.2921/0.5616, allocations: 7.156 MB / 0.7506 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.5638, allocations: 0.7962 MB / 0.7514 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5654, allocations: 485.4 kB / 0.7519 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009779/0.5664, allocations: 1.269 MB / 0.7531 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5664, allocations: 48.25 kB / 0.7532 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.525e-06/0.5664, allocations: 3.391 kB / 0.7532 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.009138/0.5756, allocations: 2.102 MB / 0.7552 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.5756, allocations: 114.4 kB / 0.7553 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.5777, allocations: 1.379 MB / 0.7567 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.5778, allocations: 45.7 kB / 0.7567 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.5782, allocations: 0.6917 MB / 0.7574 GB, free: 101 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.5784, allocations: 237.4 kB / 0.7576 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.5787, allocations: 222.8 kB / 0.7578 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.5788, allocations: 342.9 kB / 0.7581 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.5805, allocations: 491.1 kB / 0.7586 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.5824, allocations: 0.7365 MB / 0.7593 GB, free: 99.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.5856, allocations: 1.099 MB / 0.7604 GB, free: 99.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5856, allocations: 2.156 kB / 0.7604 GB, free: 99.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004883/0.5905, allocations: 1.498 MB / 0.7619 GB, free: 98.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5905, allocations: 8.438 kB / 0.7619 GB, free: 98.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5905, allocations: 11.22 kB / 0.7619 GB, free: 98.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.592, allocations: 451.2 kB / 0.7623 GB, free: 98.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.5933, allocations: 244.8 kB / 0.7626 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.5947, allocations: 1.069 MB / 0.7636 GB, free: 97.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.5968, allocations: 215.1 kB / 0.7638 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.5969, allocations: 55.17 kB / 0.7639 GB, free: 97.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002065/0.5989, allocations: 0.7702 MB / 0.7646 GB, free: 97.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001766/0.6007, allocations: 0.7408 MB / 0.7653 GB, free: 96.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003074/0.6038, allocations: 1.091 MB / 0.7664 GB, free: 96.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.6038, allocations: 5.281 kB / 0.7664 GB, free: 96.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004287/0.6081, allocations: 1.501 MB / 0.7679 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6081, allocations: 7.906 kB / 0.7679 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6081, allocations: 7.906 kB / 0.7679 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.6095, allocations: 451.9 kB / 0.7683 GB, free: 95.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.6107, allocations: 244 kB / 0.7685 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.6119, allocations: 1.054 MB / 0.7696 GB, free: 94.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.6138, allocations: 188.4 kB / 0.7698 GB, free: 94.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.6139, allocations: 51.58 kB / 0.7698 GB, free: 94.45 MB / 0.5762 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.0003176/0.6142, allocations: 241.3 kB / 0.77 GB, free: 94.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.6145, allocations: 145.7 kB / 0.7702 GB, free: 94.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.618, allocations: 1.273 MB / 0.7714 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.618, allocations: 3.969 kB / 0.7714 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.618, allocations: 7.938 kB / 0.7714 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002868/0.6209, allocations: 1.086 MB / 0.7725 GB, free: 92.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.6267, allocations: 3.372 MB / 0.7758 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6268, allocations: 3.969 kB / 0.7758 GB, free: 90.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/0.6276, allocations: 150.9 kB / 0.7759 GB, free: 90.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.6288, allocations: 443.6 kB / 0.7764 GB, free: 90.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.6288, allocations: 23.84 kB / 0.7764 GB, free: 89.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.6299, allocations: 1.06 MB / 0.7774 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6299, allocations: 10.17 kB / 0.7774 GB, free: 89.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.6331, allocations: 1.352 MB / 0.7787 GB, free: 88.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.6335, allocations: 350.5 kB / 0.7791 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.6337, allocations: 27.67 kB / 0.7791 GB, free: 88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.6351, allocations: 109.6 kB / 0.7792 GB, free: 87.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.6352, allocations: 55.09 kB / 0.7793 GB, free: 87.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.6353, allocations: 43.27 kB / 0.7793 GB, free: 87.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001196/0.6365, allocations: 0.9788 MB / 0.7803 GB, free: 87.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6365, allocations: 0 / 0.7803 GB, free: 87.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002024/0.6385, allocations: 0.8973 MB / 0.7811 GB, free: 86.78 MB / 0.5762 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.000983/0.6395, allocations: 0.5483 MB / 0.7817 GB, free: 86.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005209/0.6447, allocations: 1.797 MB / 0.7834 GB, free: 84.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6448, allocations: 0 / 0.7834 GB, free: 84.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.6463, allocations: 0.5172 MB / 0.7839 GB, free: 84.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003044/0.6493, allocations: 0.8114 MB / 0.7847 GB, free: 83.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.6533, allocations: 2.522 MB / 0.7872 GB, free: 80.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.6537, allocations: 1.215 MB / 0.7884 GB, free: 79.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001072/0.6548, allocations: 334.9 kB / 0.7887 GB, free: 79.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.655, allocations: 127.3 kB / 0.7888 GB, free: 78.99 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.6551, allocations: 0 / 0.7888 GB, free: 78.99 MB / 0.5762 GB Notification: Performance of Templates: time 0.04148/0.6965, allocations: 39.05 MB / 0.827 GB, free: 40.38 MB / 0.5762 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)