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.0008521/0.0008522, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009238/0.0009235, allocations: 180.4 kB / 16.92 MB, free: 6.684 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003165, allocations: 12.5 kB / 0.4933 GB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4076, allocations: 79.28 MB / 0.5707 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06629/0.4739, allocations: 68.2 MB / 0.6373 GB, free: 7.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.4944, allocations: 14.48 MB / 0.6515 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.4975, allocations: 63.56 kB / 0.6515 GB, free: 9.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.5002, allocations: 0.7498 MB / 0.6523 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006896/0.5071, allocations: 2.354 MB / 0.6546 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004561/0.5117, allocations: 1.787 MB / 0.6563 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006993/0.5187, allocations: 5.847 MB / 0.662 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.5208, allocations: 1.303 MB / 0.6633 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.5238, allocations: 1.419 MB / 0.6647 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5255, allocations: 1.186 MB / 0.6658 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.5257, allocations: 64 kB / 0.6659 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.5294, allocations: 1.731 MB / 0.6676 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.5297, allocations: 338.4 kB / 0.6679 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.5309, allocations: 0.8918 MB / 0.6688 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.5354, allocations: 3.345 MB / 0.6721 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5354, allocations: 3.938 kB / 0.6721 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5354, allocations: 0 / 0.6721 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.5354, allocations: 0 / 0.6721 GB, free: 4.629 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.003583/0.539, allocations: 1.946 MB / 0.674 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5391, allocations: 8.031 kB / 0.674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.5442, allocations: 0.6895 MB / 0.6746 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.5468, allocations: 1.554 MB / 0.6762 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.5469, allocations: 128 kB / 0.6763 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.5471, allocations: 116 kB / 0.6764 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.551, allocations: 1.646 MB / 0.678 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.551, allocations: 3.938 kB / 0.678 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.5512, allocations: 59.94 kB / 0.6781 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.5512, allocations: 43.92 kB / 0.6781 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.5558, allocations: 1.468 MB / 0.6795 GB, free: 12.74 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.01069/0.5665, allocations: 7.202 MB / 0.6866 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.5688, allocations: 0.8179 MB / 0.6874 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.5704, allocations: 0.5073 MB / 0.6879 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.5717, allocations: 1.267 MB / 0.6891 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.5718, allocations: 51.05 kB / 0.6891 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.304e-06/0.5718, allocations: 3.938 kB / 0.6892 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01009/0.5819, allocations: 2.244 MB / 0.6913 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.582, allocations: 111.4 kB / 0.6915 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.5841, allocations: 1.367 MB / 0.6928 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5843, allocations: 45.7 kB / 0.6928 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/0.5848, allocations: 0.688 MB / 0.6935 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.5851, allocations: 240.6 kB / 0.6937 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5852, allocations: 69.69 kB / 0.6938 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5853, allocations: 337.9 kB / 0.6941 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.5872, allocations: 0.5015 MB / 0.6946 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.5893, allocations: 0.7629 MB / 0.6954 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.593, allocations: 1.144 MB / 0.6965 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.593, allocations: 7.938 kB / 0.6965 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004968/0.598, allocations: 1.555 MB / 0.698 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.5981, allocations: 284.9 kB / 0.6983 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5982, allocations: 8 kB / 0.6983 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.5998, allocations: 454.2 kB / 0.6987 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.6012, allocations: 259.7 kB / 0.699 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.6027, allocations: 1.075 MB / 0.7 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.6051, allocations: 281.5 kB / 0.7003 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.6052, allocations: 51.95 kB / 0.7003 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.6052, allocations: 4 kB / 0.7003 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004548/0.6098, allocations: 1.402 MB / 0.7017 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6098, allocations: 8 kB / 0.7017 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.6113, allocations: 457.1 kB / 0.7021 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.6127, allocations: 255.6 kB / 0.7024 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.6142, allocations: 1.076 MB / 0.7034 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.6165, allocations: 250.8 kB / 0.7037 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.6166, allocations: 55.94 kB / 0.7037 GB, free: 2.84 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.0007984/0.6174, allocations: 452.8 kB / 0.7042 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.6177, allocations: 146.4 kB / 0.7043 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/0.6218, allocations: 1.318 MB / 0.7056 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.6219, allocations: 11.98 kB / 0.7056 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6219, allocations: 7.938 kB / 0.7056 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003566/0.6255, allocations: 1.135 MB / 0.7067 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.6334, allocations: 3.438 MB / 0.7101 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.6334, allocations: 4 kB / 0.7101 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/0.6344, allocations: 155.8 kB / 0.7102 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.6359, allocations: 448.5 kB / 0.7107 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.636, allocations: 19.98 kB / 0.7107 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.6375, allocations: 1.072 MB / 0.7117 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6375, allocations: 8.062 kB / 0.7117 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.6416, allocations: 1.405 MB / 0.7131 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/0.6424, allocations: 394.9 kB / 0.7135 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.6427, allocations: 16 kB / 0.7135 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.6444, allocations: 163.2 kB / 0.7136 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6445, allocations: 60.25 kB / 0.7137 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.6446, allocations: 43.95 kB / 0.7137 GB, free: 8.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001564/0.6462, allocations: 0.9615 MB / 0.7147 GB, free: 7.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6462, allocations: 4 kB / 0.7147 GB, free: 7.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002374/0.6486, allocations: 0.885 MB / 0.7156 GB, free: 6.348 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.001163/0.6498, allocations: 0.5345 MB / 0.7161 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006386/0.6562, allocations: 1.849 MB / 0.7179 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.6562, allocations: 7.781 kB / 0.7179 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.6581, allocations: 0.5374 MB / 0.7184 GB, free: 3.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/0.6629, allocations: 0.8015 MB / 0.7192 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.6687, allocations: 3.127 MB / 0.7222 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.6696, allocations: 1.215 MB / 0.7234 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001802/0.6714, allocations: 338.8 kB / 0.7238 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.6718, allocations: 127.4 kB / 0.7239 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of SimCode: time 4.889e-06/0.6718, allocations: 0 / 0.7239 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.06416/0.7359, allocations: 37.63 MB / 0.7606 GB, free: 8.535 MB / 0.5919 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)