Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008998/0.0009, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001016/0.001016, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7473/0.7473, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 0.5034 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3448, allocations: 81.58 MB / 0.5831 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06102/0.4058, allocations: 64.47 MB / 0.646 GB, free: 108 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.4234, allocations: 13.53 MB / 0.6593 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.4255, allocations: 63.62 kB / 0.6593 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.4274, allocations: 0.6366 MB / 0.6599 GB, free: 1.844 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005062/0.4324, allocations: 2.011 MB / 0.6619 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.4361, allocations: 1.41 MB / 0.6633 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005297/0.4414, allocations: 5.05 MB / 0.6682 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.4431, allocations: 1.148 MB / 0.6693 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.4455, allocations: 1.377 MB / 0.6707 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.4472, allocations: 1.12 MB / 0.6718 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.4474, allocations: 68 kB / 0.6718 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.4503, allocations: 1.431 MB / 0.6732 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.4507, allocations: 318.4 kB / 0.6735 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.4511, allocations: 400.8 kB / 0.6739 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.4537, allocations: 2.568 MB / 0.6764 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4537, allocations: 0 / 0.6764 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4537, allocations: 0 / 0.6764 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-05/0.4538, allocations: 4 kB / 0.6764 GB, free: 0.9023 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.003371/0.4572, allocations: 1.959 MB / 0.6783 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.4572, allocations: 8.031 kB / 0.6783 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004499/0.4617, allocations: 0.6922 MB / 0.679 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.464, allocations: 1.517 MB / 0.6805 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.4641, allocations: 124 kB / 0.6806 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.4643, allocations: 112 kB / 0.6807 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.4678, allocations: 1.638 MB / 0.6823 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4678, allocations: 3.938 kB / 0.6823 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.468, allocations: 56 kB / 0.6824 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.468, allocations: 35.94 kB / 0.6824 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.4722, allocations: 1.464 MB / 0.6838 GB, free: 9.062 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.008539/0.4808, allocations: 7.218 MB / 0.6909 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.4829, allocations: 0.8109 MB / 0.6917 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.4843, allocations: 0.491 MB / 0.6922 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.4855, allocations: 1.271 MB / 0.6934 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4856, allocations: 47.06 kB / 0.6935 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 1.864e-06/0.4856, allocations: 4 kB / 0.6935 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.008609/0.4942, allocations: 2.209 MB / 0.6956 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.4943, allocations: 115.4 kB / 0.6957 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.4961, allocations: 1.355 MB / 0.6971 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.4962, allocations: 45.7 kB / 0.6971 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.4967, allocations: 0.692 MB / 0.6978 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4969, allocations: 244.5 kB / 0.698 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.497, allocations: 15.94 kB / 0.698 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4971, allocations: 341.9 kB / 0.6983 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.4988, allocations: 0.4899 MB / 0.6988 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.5006, allocations: 0.7706 MB / 0.6996 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.5024, allocations: 0.5418 MB / 0.7001 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5024, allocations: 4 kB / 0.7001 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004197/0.5066, allocations: 1.542 MB / 0.7016 GB, free: 6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.5068, allocations: 291.4 kB / 0.7019 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5068, allocations: 4 kB / 0.7019 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.5083, allocations: 458.2 kB / 0.7023 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.5096, allocations: 259.6 kB / 0.7026 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.511, allocations: 1.077 MB / 0.7036 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.5129, allocations: 274.5 kB / 0.7039 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.513, allocations: 51.95 kB / 0.7039 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/0.513, allocations: 4 kB / 0.7039 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004096/0.5171, allocations: 1.394 MB / 0.7053 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5171, allocations: 8 kB / 0.7053 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.5185, allocations: 461 kB / 0.7058 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5198, allocations: 255.6 kB / 0.706 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.5211, allocations: 1.075 MB / 0.707 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.5228, allocations: 242.9 kB / 0.7073 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.5229, allocations: 51.95 kB / 0.7073 GB, free: 4 kB / 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 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005595/0.5234, allocations: 458.3 kB / 0.7078 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.5237, allocations: 146.4 kB / 0.7079 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.5274, allocations: 1.314 MB / 0.7092 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5274, allocations: 15.98 kB / 0.7092 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5274, allocations: 4 kB / 0.7092 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003155/0.5306, allocations: 1.127 MB / 0.7103 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.5371, allocations: 3.422 MB / 0.7137 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.5372, allocations: 4 kB / 0.7137 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.538, allocations: 163.9 kB / 0.7138 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.5394, allocations: 444.8 kB / 0.7142 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.5394, allocations: 31.97 kB / 0.7143 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.5408, allocations: 1.068 MB / 0.7153 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5408, allocations: 7.938 kB / 0.7153 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.5443, allocations: 1.397 MB / 0.7167 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.5449, allocations: 394.9 kB / 0.7171 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.5451, allocations: 20 kB / 0.7171 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.5466, allocations: 151.4 kB / 0.7172 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5467, allocations: 60.27 kB / 0.7173 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.5468, allocations: 47.94 kB / 0.7173 GB, free: 5.387 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00138/0.5482, allocations: 0.9537 MB / 0.7183 GB, free: 4.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5482, allocations: 0 / 0.7183 GB, free: 4.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002027/0.5502, allocations: 0.885 MB / 0.7191 GB, free: 3.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.5512, allocations: 0.5181 MB / 0.7196 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005568/0.5568, allocations: 1.841 MB / 0.7214 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5568, allocations: 0 / 0.7214 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.5585, allocations: 0.5334 MB / 0.7219 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/0.5617, allocations: 0.7765 MB / 0.7227 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/0.5666, allocations: 2.998 MB / 0.7256 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.5673, allocations: 1.215 MB / 0.7268 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001507/0.5688, allocations: 345.9 kB / 0.7271 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.5691, allocations: 123.3 kB / 0.7273 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/0.5691, allocations: 0 / 0.7273 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.05024/0.6194, allocations: 35.72 MB / 0.7621 GB, free: 7.852 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)