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.001065/0.001066, allocations: 113.3 kB / 17.04 MB, free: 6.078 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.001066/0.001066, allocations: 195 kB / 17.98 MB, free: 5.16 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.249/1.249, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6749/0.6749, allocations: 115.1 MB / 406.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.84 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3038, allocations: 76.13 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05709/0.3609, allocations: 69.9 MB / 0.6258 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02061/0.3816, allocations: 14.47 MB / 0.6399 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.3845, allocations: 75.67 kB / 0.64 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.3874, allocations: 0.92 MB / 0.6409 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006843/0.3942, allocations: 2.545 MB / 0.6434 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.399, allocations: 1.985 MB / 0.6453 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005664/0.4047, allocations: 4.636 MB / 0.6499 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.4072, allocations: 1.608 MB / 0.6514 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.4107, allocations: 1.757 MB / 0.6532 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.4126, allocations: 1.276 MB / 0.6544 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003591/0.413, allocations: 196 kB / 0.6546 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/0.4168, allocations: 1.976 MB / 0.6565 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005514/0.4174, allocations: 466.4 kB / 0.657 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.4189, allocations: 1.011 MB / 0.658 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.4242, allocations: 3.502 MB / 0.6614 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4242, allocations: 4 kB / 0.6614 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4242, allocations: 0 / 0.6614 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.4242, allocations: 0 / 0.6614 GB, free: 10.05 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.003876/0.4281, allocations: 2.302 MB / 0.6636 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4282, allocations: 12.03 kB / 0.6636 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.4328, allocations: 0.6466 MB / 0.6643 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.4352, allocations: 1.592 MB / 0.6658 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.4354, allocations: 132 kB / 0.6659 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.4355, allocations: 116 kB / 0.6661 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.4389, allocations: 1.614 MB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.4389, allocations: 0 / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.439, allocations: 48 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.4391, allocations: 43.88 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.4431, allocations: 1.417 MB / 0.6691 GB, free: 1.891 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.008986/0.4521, allocations: 7.161 MB / 0.6761 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.4542, allocations: 0.7991 MB / 0.6769 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.4556, allocations: 484.3 kB / 0.6773 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.4568, allocations: 1.271 MB / 0.6786 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4568, allocations: 43.12 kB / 0.6786 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.074e-06/0.4568, allocations: 4 kB / 0.6786 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.008642/0.4655, allocations: 2.1 MB / 0.6807 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4656, allocations: 115.4 kB / 0.6808 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.4674, allocations: 1.386 MB / 0.6821 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.4675, allocations: 41.7 kB / 0.6822 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/0.468, allocations: 0.6881 MB / 0.6829 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.4682, allocations: 236.5 kB / 0.6831 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.4686, allocations: 226.3 kB / 0.6833 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4687, allocations: 342 kB / 0.6836 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.4704, allocations: 484.5 kB / 0.6841 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.4723, allocations: 0.7433 MB / 0.6848 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.4754, allocations: 1.098 MB / 0.6859 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4754, allocations: 0 / 0.6859 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004236/0.4796, allocations: 1.5 MB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4797, allocations: 15.88 kB / 0.6874 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4797, allocations: 11.97 kB / 0.6874 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.4811, allocations: 447.4 kB / 0.6878 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4824, allocations: 247.6 kB / 0.688 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.4838, allocations: 1.061 MB / 0.6891 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.4856, allocations: 218.7 kB / 0.6893 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.4857, allocations: 51.95 kB / 0.6893 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002026/0.4877, allocations: 0.7712 MB / 0.6901 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001855/0.4896, allocations: 0.7354 MB / 0.6908 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003111/0.4927, allocations: 1.09 MB / 0.6919 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.4928, allocations: 3.938 kB / 0.6919 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004278/0.497, allocations: 1.504 MB / 0.6933 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4971, allocations: 12.09 kB / 0.6933 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4971, allocations: 4 kB / 0.6934 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.4984, allocations: 452.4 kB / 0.6938 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.4996, allocations: 247.6 kB / 0.694 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.501, allocations: 1.064 MB / 0.6951 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.5028, allocations: 183.2 kB / 0.6952 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.503, allocations: 51.95 kB / 0.6953 GB, free: 5.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.000323/0.5033, allocations: 232 kB / 0.6955 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.5036, allocations: 146.2 kB / 0.6956 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/0.5073, allocations: 1.264 MB / 0.6969 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.5073, allocations: 11.94 kB / 0.6969 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5073, allocations: 0 / 0.6969 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003121/0.5104, allocations: 1.084 MB / 0.6979 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/0.5174, allocations: 3.395 MB / 0.7013 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.5174, allocations: 4.188 kB / 0.7013 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.5182, allocations: 143.7 kB / 0.7014 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.5196, allocations: 446.6 kB / 0.7018 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.5197, allocations: 23.92 kB / 0.7019 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.521, allocations: 1.064 MB / 0.7029 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.521, allocations: 4 kB / 0.7029 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.5245, allocations: 1.354 MB / 0.7042 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.5251, allocations: 347.1 kB / 0.7045 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5253, allocations: 20 kB / 0.7046 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.5268, allocations: 115.8 kB / 0.7047 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5269, allocations: 60.25 kB / 0.7047 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/0.527, allocations: 48.02 kB / 0.7048 GB, free: 11.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001391/0.5284, allocations: 0.9732 MB / 0.7057 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5284, allocations: 0 / 0.7057 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002076/0.5305, allocations: 0.8967 MB / 0.7066 GB, free: 9.852 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.001026/0.5315, allocations: 0.558 MB / 0.7072 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005676/0.5372, allocations: 1.783 MB / 0.7089 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5372, allocations: 4.062 kB / 0.7089 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.5388, allocations: 0.5173 MB / 0.7094 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.5418, allocations: 0.8202 MB / 0.7102 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.5465, allocations: 2.517 MB / 0.7127 GB, free: 3.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.5472, allocations: 1.211 MB / 0.7138 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00117/0.5484, allocations: 333.9 kB / 0.7142 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.5487, allocations: 123.3 kB / 0.7143 GB, free: 1.934 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.5487, allocations: 0 / 0.7143 GB, free: 1.934 MB / 0.545 GB Notification: Performance of Templates: time 0.2716/0.8203, allocations: 38.76 MB / 0.7521 GB, free: 165.3 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)