Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.0007676/0.0007676, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005033/0.005033, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6795/0.6795, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002602, allocations: 9.312 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3304, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05886/0.3893, allocations: 68.26 MB / 0.6504 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.407, allocations: 14.36 MB / 0.6644 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.409, allocations: 63.56 kB / 0.6645 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.4112, allocations: 0.7459 MB / 0.6652 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.4172, allocations: 2.351 MB / 0.6675 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.4213, allocations: 1.772 MB / 0.6692 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006132/0.4275, allocations: 5.873 MB / 0.675 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.4294, allocations: 1.293 MB / 0.6762 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.432, allocations: 1.427 MB / 0.6776 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.4338, allocations: 1.198 MB / 0.6788 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.4342, allocations: 64 kB / 0.6789 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.4376, allocations: 1.735 MB / 0.6806 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.4381, allocations: 334.4 kB / 0.6809 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.4392, allocations: 0.8995 MB / 0.6818 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.4433, allocations: 3.341 MB / 0.685 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4433, allocations: 4 kB / 0.685 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4433, allocations: 0 / 0.685 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.982e-05/0.4434, allocations: 0 / 0.685 GB, free: 8.406 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00358/0.447, allocations: 1.955 MB / 0.6869 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.447, allocations: 8.031 kB / 0.6869 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/0.4473, allocations: 181.6 kB / 0.6871 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.4526, allocations: 0.736 MB / 0.6878 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.4547, allocations: 1.564 MB / 0.6894 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4548, allocations: 132 kB / 0.6895 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.455, allocations: 116 kB / 0.6896 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.4586, allocations: 1.677 MB / 0.6912 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.4586, allocations: 15.86 kB / 0.6912 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.4587, allocations: 48 kB / 0.6913 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.4588, allocations: 39.98 kB / 0.6913 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.4633, allocations: 1.531 MB / 0.6928 GB, free: 168 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.008276/0.4715, allocations: 7.303 MB / 0.7 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.4737, allocations: 0.8416 MB / 0.7008 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4754, allocations: 0.5255 MB / 0.7013 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.4765, allocations: 1.27 MB / 0.7025 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.4765, allocations: 51.12 kB / 0.7026 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.014e-06/0.4766, allocations: 0 / 0.7026 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02871/0.5053, allocations: 4.315 MB / 0.7068 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.5053, allocations: 111.4 kB / 0.7069 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.5071, allocations: 1.367 MB / 0.7082 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.5072, allocations: 45.64 kB / 0.7083 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.5077, allocations: 0.6803 MB / 0.7089 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5079, allocations: 244.5 kB / 0.7092 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.508, allocations: 69.69 kB / 0.7092 GB, free: 14.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5081, allocations: 345.9 kB / 0.7096 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.51, allocations: 0.525 MB / 0.7101 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.512, allocations: 0.7979 MB / 0.7109 GB, free: 12.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.5155, allocations: 1.183 MB / 0.712 GB, free: 11.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5156, allocations: 4 kB / 0.712 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004646/0.5202, allocations: 1.636 MB / 0.7136 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.5204, allocations: 278.9 kB / 0.7139 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5204, allocations: 8 kB / 0.7139 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.5222, allocations: 0.5644 MB / 0.7144 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.5234, allocations: 251.6 kB / 0.7147 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.5252, allocations: 1.175 MB / 0.7158 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.5273, allocations: 286.5 kB / 0.7161 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.5274, allocations: 51.95 kB / 0.7162 GB, free: 7.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.383e-06/0.5274, allocations: 4 kB / 0.7162 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004466/0.5319, allocations: 1.484 MB / 0.7176 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5319, allocations: 4 kB / 0.7176 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.5336, allocations: 0.5736 MB / 0.7182 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.5348, allocations: 251.6 kB / 0.7184 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.5366, allocations: 1.181 MB / 0.7196 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.5384, allocations: 250.8 kB / 0.7198 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/0.5385, allocations: 51.95 kB / 0.7199 GB, free: 3.359 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005462/0.5391, allocations: 452.8 kB / 0.7203 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.5393, allocations: 146.2 kB / 0.7204 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.5434, allocations: 1.402 MB / 0.7218 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.5434, allocations: 19.86 kB / 0.7218 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5434, allocations: 0 / 0.7218 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003642/0.5471, allocations: 1.215 MB / 0.723 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.5541, allocations: 3.516 MB / 0.7264 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5541, allocations: 4 kB / 0.7264 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.555, allocations: 143.8 kB / 0.7266 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.5567, allocations: 0.5554 MB / 0.7271 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.5568, allocations: 27.91 kB / 0.7271 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.5585, allocations: 1.162 MB / 0.7283 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5585, allocations: 11.94 kB / 0.7283 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/0.5625, allocations: 1.485 MB / 0.7297 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.563, allocations: 394.9 kB / 0.7301 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.5632, allocations: 16 kB / 0.7301 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.5649, allocations: 167.8 kB / 0.7303 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.565, allocations: 60.22 kB / 0.7304 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.876e-05/0.5651, allocations: 47.95 kB / 0.7304 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001343/0.5664, allocations: 0.9615 MB / 0.7313 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5665, allocations: 0 / 0.7313 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002013/0.5685, allocations: 0.8928 MB / 0.7322 GB, free: 6.324 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005125/0.5736, allocations: 2.468 MB / 0.7346 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005986/0.5796, allocations: 1.925 MB / 0.7365 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5796, allocations: 0 / 0.7365 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.5814, allocations: 0.5613 MB / 0.737 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.5853, allocations: 0.7971 MB / 0.7378 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/0.6126, allocations: 13.45 MB / 0.751 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.6134, allocations: 1.207 MB / 0.7521 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001564/0.615, allocations: 335.3 kB / 0.7525 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007307/0.6157, allocations: 0.5656 MB / 0.753 GB, free: 332 kB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.6157, allocations: 0 / 0.753 GB, free: 332 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.604/2.22, allocations: 50.99 MB / 0.8028 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/2.22, allocations: 279.1 kB / 0.8031 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.622/7.842, allocations: 4 kB / 0.8031 GB, free: 13.62 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)