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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009659/0.000966, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001306/0.001306, allocations: 173.6 kB / 16.27 MB, free: 6.664 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7618/0.7618, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 8 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3441, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06771/0.4119, allocations: 68.24 MB / 0.6504 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.4315, allocations: 14.43 MB / 0.6645 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.4336, allocations: 67.56 kB / 0.6645 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.4357, allocations: 0.7498 MB / 0.6653 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.4416, allocations: 2.347 MB / 0.6676 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.4458, allocations: 1.779 MB / 0.6693 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006141/0.4519, allocations: 5.858 MB / 0.675 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.4539, allocations: 1.301 MB / 0.6763 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.4565, allocations: 1.415 MB / 0.6777 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.4583, allocations: 1.19 MB / 0.6788 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.4585, allocations: 68 kB / 0.6789 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.4617, allocations: 1.743 MB / 0.6806 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.462, allocations: 326.6 kB / 0.6809 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009169/0.463, allocations: 0.8956 MB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.4664, allocations: 3.337 MB / 0.6851 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4664, allocations: 0 / 0.6851 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4664, allocations: 0 / 0.6851 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.4665, allocations: 0 / 0.6851 GB, free: 8.348 MB / 0.5137 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.003255/0.4697, allocations: 1.94 MB / 0.6869 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.4698, allocations: 8.031 kB / 0.687 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.47, allocations: 181.5 kB / 0.6871 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005067/0.4751, allocations: 0.6969 MB / 0.6878 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4773, allocations: 1.559 MB / 0.6893 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.4774, allocations: 128 kB / 0.6895 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.4776, allocations: 120 kB / 0.6896 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/0.4813, allocations: 1.642 MB / 0.6912 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.4813, allocations: 11.92 kB / 0.6912 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.4814, allocations: 51.98 kB / 0.6912 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.4815, allocations: 39.94 kB / 0.6913 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.486, allocations: 1.468 MB / 0.6927 GB, free: 272 kB / 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.009097/0.4951, allocations: 7.21 MB / 0.6997 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.4975, allocations: 0.8145 MB / 0.7005 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.4991, allocations: 0.5035 MB / 0.701 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.5004, allocations: 1.278 MB / 0.7023 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5004, allocations: 39.12 kB / 0.7023 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.445e-06/0.5005, allocations: 0 / 0.7023 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01005/0.5105, allocations: 2.245 MB / 0.7045 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5106, allocations: 115.4 kB / 0.7046 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.5125, allocations: 1.367 MB / 0.706 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.5126, allocations: 41.7 kB / 0.706 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.5132, allocations: 0.6881 MB / 0.7067 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.5134, allocations: 248.5 kB / 0.7069 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.5135, allocations: 77.61 kB / 0.707 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5136, allocations: 334 kB / 0.7073 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.5156, allocations: 0.4977 MB / 0.7078 GB, free: 48 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.5177, allocations: 0.7706 MB / 0.7085 GB, free: 15.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.5213, allocations: 1.137 MB / 0.7096 GB, free: 13.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5213, allocations: 4 kB / 0.7096 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004738/0.526, allocations: 1.57 MB / 0.7112 GB, free: 12.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.5262, allocations: 269 kB / 0.7114 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.5262, allocations: 8 kB / 0.7114 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.5278, allocations: 457.9 kB / 0.7119 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5292, allocations: 259.6 kB / 0.7121 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.5307, allocations: 1.08 MB / 0.7132 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.5329, allocations: 266.6 kB / 0.7134 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.533, allocations: 59.94 kB / 0.7135 GB, free: 9.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.5331, allocations: 6.344 kB / 0.7135 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004512/0.5376, allocations: 1.398 MB / 0.7149 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5376, allocations: 4 kB / 0.7149 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.539, allocations: 471.9 kB / 0.7153 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5404, allocations: 251.6 kB / 0.7156 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.5419, allocations: 1.083 MB / 0.7166 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.5437, allocations: 242.9 kB / 0.7168 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.5438, allocations: 51.95 kB / 0.7169 GB, free: 6.375 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.0006497/0.5445, allocations: 454.4 kB / 0.7173 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.5447, allocations: 146.2 kB / 0.7175 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.5488, allocations: 1.319 MB / 0.7188 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.5489, allocations: 8 kB / 0.7188 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5489, allocations: 0 / 0.7188 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003581/0.5525, allocations: 1.139 MB / 0.7199 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007248/0.5597, allocations: 3.438 MB / 0.7232 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5597, allocations: 4.188 kB / 0.7232 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.5607, allocations: 163.8 kB / 0.7234 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.5622, allocations: 444 kB / 0.7238 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.5622, allocations: 35.91 kB / 0.7239 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.5637, allocations: 1.064 MB / 0.7249 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5637, allocations: 15.88 kB / 0.7249 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.5677, allocations: 1.401 MB / 0.7263 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/0.5683, allocations: 386.9 kB / 0.7266 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.5684, allocations: 16 kB / 0.7267 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.5702, allocations: 159.7 kB / 0.7268 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5703, allocations: 60.25 kB / 0.7269 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/0.5704, allocations: 43.94 kB / 0.7269 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001506/0.5719, allocations: 0.9654 MB / 0.7279 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5719, allocations: 4 kB / 0.7279 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002175/0.5741, allocations: 0.8772 MB / 0.7287 GB, free: 9.891 MB / 0.5606 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.005048/0.5791, allocations: 2.385 MB / 0.731 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006186/0.5853, allocations: 1.849 MB / 0.7328 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5854, allocations: 0 / 0.7328 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.5872, allocations: 0.5413 MB / 0.7334 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/0.5915, allocations: 0.8034 MB / 0.7342 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/0.6192, allocations: 13.15 MB / 0.747 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.62, allocations: 1.207 MB / 0.7482 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001542/0.6216, allocations: 342 kB / 0.7485 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.6223, allocations: 0.5617 MB / 0.7491 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.6223, allocations: 0 / 0.7491 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/0.6937, allocations: 49.78 MB / 0.7977 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.6939, allocations: 282.3 kB / 0.7979 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.679, allocations: 0 / 0.7979 GB, free: 2.863 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)