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.001267/0.001267, allocations: 104 kB / 16.52 MB, free: 6.27 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.001381/0.001382, allocations: 196 kB / 17.44 MB, free: 5.887 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7117/0.7117, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4482, allocations: 76.17 MB / 0.5564 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06679/0.515, allocations: 69.46 MB / 0.6242 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02246/0.5375, allocations: 14.64 MB / 0.6385 GB, free: 392 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.5419, allocations: 63.62 kB / 0.6386 GB, free: 328 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003143/0.5451, allocations: 0.7498 MB / 0.6393 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008528/0.5537, allocations: 2.353 MB / 0.6416 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005591/0.5593, allocations: 1.776 MB / 0.6433 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008682/0.568, allocations: 5.862 MB / 0.649 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.5709, allocations: 1.326 MB / 0.6503 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.575, allocations: 1.47 MB / 0.6518 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.5777, allocations: 1.252 MB / 0.653 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006459/0.5784, allocations: 88 kB / 0.6531 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/0.5836, allocations: 1.752 MB / 0.6548 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008308/0.5844, allocations: 358.5 kB / 0.6551 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.5869, allocations: 0.9135 MB / 0.656 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.5916, allocations: 2.69 MB / 0.6587 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5916, allocations: 0 / 0.6587 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5917, allocations: 3.938 kB / 0.6587 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001042/0.5918, allocations: 4 kB / 0.6587 GB, free: 11.68 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006465/0.5982, allocations: 2.313 MB / 0.6609 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5983, allocations: 8.031 kB / 0.6609 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.6038, allocations: 0.6543 MB / 0.6616 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.6072, allocations: 1.546 MB / 0.6631 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.6073, allocations: 128 kB / 0.6632 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.6077, allocations: 120 kB / 0.6633 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/0.6122, allocations: 1.618 MB / 0.6649 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.6123, allocations: 7.938 kB / 0.6649 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.6125, allocations: 52 kB / 0.665 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.6126, allocations: 39.94 kB / 0.665 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004783/0.6174, allocations: 1.421 MB / 0.6664 GB, free: 3.539 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.01179/0.6292, allocations: 7.167 MB / 0.6734 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.6315, allocations: 0.7945 MB / 0.6742 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.6332, allocations: 482.8 kB / 0.6746 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.6347, allocations: 1.267 MB / 0.6759 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.6348, allocations: 51.06 kB / 0.6759 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.855e-06/0.6348, allocations: 0 / 0.6759 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01005/0.6448, allocations: 2.108 MB / 0.678 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.645, allocations: 111.4 kB / 0.6781 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.6478, allocations: 1.371 MB / 0.6794 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.648, allocations: 41.7 kB / 0.6794 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/0.6488, allocations: 0.6803 MB / 0.6801 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.6491, allocations: 240.5 kB / 0.6803 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.6496, allocations: 230.3 kB / 0.6806 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6498, allocations: 345.9 kB / 0.6809 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.6517, allocations: 484.5 kB / 0.6813 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.6538, allocations: 0.7472 MB / 0.6821 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.6575, allocations: 1.098 MB / 0.6832 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.6575, allocations: 4 kB / 0.6832 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005271/0.6628, allocations: 1.496 MB / 0.6846 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.6629, allocations: 17.62 kB / 0.6846 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.663, allocations: 8 kB / 0.6846 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.6647, allocations: 447.7 kB / 0.6851 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.6662, allocations: 247.6 kB / 0.6853 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.6679, allocations: 1.064 MB / 0.6863 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.6703, allocations: 254.6 kB / 0.6866 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.6705, allocations: 51.95 kB / 0.6866 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002554/0.673, allocations: 0.7751 MB / 0.6874 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002134/0.6752, allocations: 0.7392 MB / 0.6881 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003599/0.6788, allocations: 1.094 MB / 0.6892 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.678e-06/0.6788, allocations: 0 / 0.6892 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005154/0.684, allocations: 1.508 MB / 0.6907 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.684, allocations: 8 kB / 0.6907 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.684, allocations: 4 kB / 0.6907 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.6856, allocations: 449.2 kB / 0.6911 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.687, allocations: 243.6 kB / 0.6913 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.6886, allocations: 1.06 MB / 0.6924 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.691, allocations: 212.4 kB / 0.6926 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.6912, allocations: 55.94 kB / 0.6926 GB, free: 7.426 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: 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.0004164/0.6916, allocations: 236 kB / 0.6928 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005648/0.6922, allocations: 142.2 kB / 0.693 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.6966, allocations: 1.277 MB / 0.6942 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.6966, allocations: 7.938 kB / 0.6942 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6966, allocations: 4 kB / 0.6942 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003508/0.7001, allocations: 1.08 MB / 0.6953 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008774/0.7089, allocations: 3.379 MB / 0.6986 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.709, allocations: 4 kB / 0.6986 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.7099, allocations: 148 kB / 0.6987 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.7114, allocations: 445.8 kB / 0.6992 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.7115, allocations: 27.97 kB / 0.6992 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.7131, allocations: 1.056 MB / 0.7002 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.7131, allocations: 7.938 kB / 0.7002 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/0.7173, allocations: 1.354 MB / 0.7015 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008889/0.7182, allocations: 359 kB / 0.7019 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/0.7186, allocations: 19.98 kB / 0.7019 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.7205, allocations: 140.6 kB / 0.702 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.7207, allocations: 52.25 kB / 0.7021 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.7209, allocations: 47.95 kB / 0.7021 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002019/0.7229, allocations: 0.9615 MB / 0.7031 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7229, allocations: 3.938 kB / 0.7031 GB, free: 12.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003148/0.726, allocations: 0.885 MB / 0.7039 GB, free: 11.43 MB / 0.545 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.001606/0.7277, allocations: 0.5395 MB / 0.7045 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.7343, allocations: 1.771 MB / 0.7062 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.7344, allocations: 4 kB / 0.7062 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.7363, allocations: 0.51 MB / 0.7067 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/0.7408, allocations: 0.7804 MB / 0.7075 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/0.7477, allocations: 3.086 MB / 0.7105 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.7489, allocations: 1.211 MB / 0.7117 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/0.7494, allocations: 143.2 kB / 0.7118 GB, free: 3.316 MB / 0.545 GB Notification: Performance of SimCode: time 6.02e-07/0.7494, allocations: 0 / 0.7118 GB, free: 3.316 MB / 0.545 GB Notification: Performance of Templates: time 0.3376/1.087, allocations: 35.61 MB / 0.7466 GB, free: 163.8 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)