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.00165/0.00165, allocations: 102 kB / 15.98 MB, free: 6.348 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.001859/0.001859, allocations: 196.4 kB / 16.91 MB, free: 6.191 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7718/0.7718, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.4906 GB, free: 7.867 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3737, allocations: 77.92 MB / 0.5667 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05737/0.4311, allocations: 69.29 MB / 0.6344 GB, free: 5.582 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4518, allocations: 14.35 MB / 0.6484 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.4544, allocations: 67.56 kB / 0.6484 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.4571, allocations: 0.7967 MB / 0.6492 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.4643, allocations: 2.371 MB / 0.6515 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.4693, allocations: 1.834 MB / 0.6533 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005949/0.4752, allocations: 4.642 MB / 0.6579 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.4778, allocations: 1.604 MB / 0.6594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004309/0.4822, allocations: 1.773 MB / 0.6611 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.4842, allocations: 1.307 MB / 0.6624 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004697/0.4847, allocations: 192 kB / 0.6626 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.4888, allocations: 1.946 MB / 0.6645 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.4894, allocations: 466.5 kB / 0.665 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.4912, allocations: 1.019 MB / 0.6659 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005493/0.4967, allocations: 3.487 MB / 0.6694 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4967, allocations: 0 / 0.6694 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4967, allocations: 0 / 0.6694 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.762e-05/0.4968, allocations: 0 / 0.6694 GB, free: 1.645 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.004656/0.5015, allocations: 2.302 MB / 0.6716 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.5015, allocations: 12.62 kB / 0.6716 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.5069, allocations: 0.6543 MB / 0.6723 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.5097, allocations: 1.557 MB / 0.6738 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.5099, allocations: 124 kB / 0.6739 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.5101, allocations: 116 kB / 0.674 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004216/0.5144, allocations: 1.622 MB / 0.6756 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.5144, allocations: 8 kB / 0.6756 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.5146, allocations: 51.98 kB / 0.6756 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.5146, allocations: 35.94 kB / 0.6757 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/0.5193, allocations: 1.425 MB / 0.6771 GB, free: 9.512 MB / 0.5137 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.01058/0.5299, allocations: 7.167 MB / 0.6841 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.5323, allocations: 0.7945 MB / 0.6848 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.534, allocations: 482.8 kB / 0.6853 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.5353, allocations: 1.267 MB / 0.6865 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.5354, allocations: 43.12 kB / 0.6866 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.355e-06/0.5354, allocations: 4 kB / 0.6866 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01012/0.5455, allocations: 2.112 MB / 0.6886 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.5456, allocations: 111.4 kB / 0.6888 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.548, allocations: 1.367 MB / 0.6901 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.5481, allocations: 45.7 kB / 0.6901 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/0.5487, allocations: 0.6803 MB / 0.6908 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.549, allocations: 240.5 kB / 0.691 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.5494, allocations: 238.3 kB / 0.6913 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5495, allocations: 337.9 kB / 0.6916 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.5514, allocations: 480.5 kB / 0.692 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.5535, allocations: 0.7509 MB / 0.6928 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.557, allocations: 1.094 MB / 0.6938 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.5571, allocations: 7.938 kB / 0.6938 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004983/0.562, allocations: 1.508 MB / 0.6953 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5621, allocations: 11.94 kB / 0.6953 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5621, allocations: 4 kB / 0.6953 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.5637, allocations: 453.3 kB / 0.6958 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.5652, allocations: 243.6 kB / 0.696 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.5667, allocations: 1.06 MB / 0.697 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.5691, allocations: 254.6 kB / 0.6973 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.5692, allocations: 51.95 kB / 0.6973 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002382/0.5716, allocations: 0.7673 MB / 0.6981 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002087/0.5737, allocations: 0.7431 MB / 0.6988 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003509/0.5772, allocations: 1.097 MB / 0.6999 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/0.5773, allocations: 0 / 0.6999 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005001/0.5823, allocations: 1.496 MB / 0.7013 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5823, allocations: 8 kB / 0.7013 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5823, allocations: 12.05 kB / 0.7013 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.5838, allocations: 457.1 kB / 0.7018 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.5853, allocations: 243.5 kB / 0.702 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.5867, allocations: 1.067 MB / 0.7031 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/0.5892, allocations: 213.2 kB / 0.7033 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.5894, allocations: 55.94 kB / 0.7033 GB, free: 13.38 MB / 0.545 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.0003795/0.5898, allocations: 236 kB / 0.7035 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.5903, allocations: 146.2 kB / 0.7037 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.5947, allocations: 1.269 MB / 0.7049 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5947, allocations: 15.94 kB / 0.7049 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5947, allocations: 0 / 0.7049 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003499/0.5982, allocations: 1.088 MB / 0.706 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008707/0.607, allocations: 3.364 MB / 0.7093 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.607, allocations: 4 kB / 0.7093 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.608, allocations: 155.8 kB / 0.7094 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.6095, allocations: 444.4 kB / 0.7099 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.6097, allocations: 27.97 kB / 0.7099 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.6112, allocations: 1.063 MB / 0.7109 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6112, allocations: 4 kB / 0.7109 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.6153, allocations: 1.347 MB / 0.7122 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/0.6162, allocations: 354.9 kB / 0.7126 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.6165, allocations: 16 kB / 0.7126 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.6184, allocations: 143.8 kB / 0.7127 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6186, allocations: 60.23 kB / 0.7128 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6187, allocations: 39.95 kB / 0.7128 GB, free: 3.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001723/0.6204, allocations: 0.9615 MB / 0.7138 GB, free: 2.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6204, allocations: 0 / 0.7138 GB, free: 2.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00272/0.6232, allocations: 0.8967 MB / 0.7146 GB, free: 1.398 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.001417/0.6246, allocations: 0.5376 MB / 0.7152 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006688/0.6313, allocations: 1.814 MB / 0.7169 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.6313, allocations: 7.781 kB / 0.7169 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.6333, allocations: 0.5131 MB / 0.7175 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/0.6375, allocations: 0.8215 MB / 0.7183 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.6438, allocations: 3.055 MB / 0.7212 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.6449, allocations: 1.211 MB / 0.7224 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001851/0.6468, allocations: 341.9 kB / 0.7227 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.6472, allocations: 123.3 kB / 0.7229 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.6472, allocations: 0 / 0.7229 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.316/0.9632, allocations: 38.23 MB / 0.7602 GB, free: 152.6 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)