Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.0008616/0.0008617, allocations: 91.84 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.004963/0.004963, allocations: 169.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.14/1.14, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6681/0.6681, allocations: 132.3 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 16.88 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3136, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06246/0.3761, allocations: 68.23 MB / 0.6504 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.3957, allocations: 14.35 MB / 0.6644 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.3977, allocations: 63.62 kB / 0.6644 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.3998, allocations: 0.7459 MB / 0.6652 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004281/0.4041, allocations: 2.336 MB / 0.6675 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.4075, allocations: 1.783 MB / 0.6692 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00445/0.4119, allocations: 5.908 MB / 0.675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.4132, allocations: 1.285 MB / 0.6762 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.4149, allocations: 1.431 MB / 0.6776 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.416, allocations: 1.194 MB / 0.6788 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.4161, allocations: 64 kB / 0.6788 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.4186, allocations: 1.743 MB / 0.6806 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.4189, allocations: 330.4 kB / 0.6809 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/0.4196, allocations: 0.8957 MB / 0.6817 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.4223, allocations: 3.357 MB / 0.685 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.4223, allocations: 4 kB / 0.685 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4223, allocations: 0 / 0.685 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.4223, allocations: 0 / 0.685 GB, free: 8.422 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.00273/0.4251, allocations: 1.924 MB / 0.6869 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.4251, allocations: 8.031 kB / 0.6869 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.4253, allocations: 185.6 kB / 0.6871 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.4304, allocations: 0.7359 MB / 0.6878 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.4322, allocations: 1.564 MB / 0.6893 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.4323, allocations: 124 kB / 0.6894 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.4325, allocations: 120 kB / 0.6896 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.4358, allocations: 1.664 MB / 0.6912 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.4358, allocations: 4 kB / 0.6912 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.4359, allocations: 48 kB / 0.6912 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.436, allocations: 39.88 kB / 0.6913 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.4401, allocations: 1.499 MB / 0.6927 GB, free: 284 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.01091/0.451, allocations: 7.023 MB / 0.6996 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.4543, allocations: 0.7619 MB / 0.7003 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.4565, allocations: 0.5029 MB / 0.7008 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.4576, allocations: 1.267 MB / 0.7021 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4576, allocations: 55.06 kB / 0.7021 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.014e-06/0.4576, allocations: 0 / 0.7021 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01869/0.4763, allocations: 3.121 MB / 0.7052 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.4764, allocations: 111.4 kB / 0.7053 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.478, allocations: 1.37 MB / 0.7066 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.4781, allocations: 45.7 kB / 0.7067 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.4785, allocations: 0.684 MB / 0.7073 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.4787, allocations: 244.6 kB / 0.7076 GB, free: 384 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4788, allocations: 77.67 kB / 0.7076 GB, free: 300 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4789, allocations: 345.9 kB / 0.708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.4807, allocations: 0.5133 MB / 0.7085 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.4826, allocations: 0.8057 MB / 0.7093 GB, free: 14.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.486, allocations: 1.172 MB / 0.7104 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.486, allocations: 4 kB / 0.7104 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004422/0.4904, allocations: 1.597 MB / 0.712 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.4906, allocations: 280.6 kB / 0.7122 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4906, allocations: 11.94 kB / 0.7122 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.4921, allocations: 479.5 kB / 0.7127 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4934, allocations: 267.5 kB / 0.713 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.4948, allocations: 1.003 MB / 0.7139 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.4968, allocations: 274.6 kB / 0.7142 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.4969, allocations: 59.89 kB / 0.7143 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.4969, allocations: 4 kB / 0.7143 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004233/0.5012, allocations: 1.441 MB / 0.7157 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5012, allocations: 4 kB / 0.7157 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.5026, allocations: 492.3 kB / 0.7161 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.5044, allocations: 267.6 kB / 0.7164 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.5067, allocations: 1.002 MB / 0.7174 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/0.5096, allocations: 247.8 kB / 0.7176 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.5098, allocations: 60.12 kB / 0.7177 GB, free: 5.676 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 (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008459/0.5107, allocations: 451 kB / 0.7181 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.511, allocations: 142.3 kB / 0.7182 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/0.5174, allocations: 1.347 MB / 0.7195 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5174, allocations: 8 kB / 0.7196 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5174, allocations: 0 / 0.7196 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003414/0.5208, allocations: 1.147 MB / 0.7207 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006108/0.5269, allocations: 3.077 MB / 0.7237 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.527, allocations: 4 kB / 0.7237 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.5278, allocations: 159.9 kB / 0.7238 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.5292, allocations: 475.1 kB / 0.7243 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.5293, allocations: 31.97 kB / 0.7243 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.5307, allocations: 0.9934 MB / 0.7253 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5307, allocations: 7.938 kB / 0.7253 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.5359, allocations: 1.982 MB / 0.7272 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.5364, allocations: 398.9 kB / 0.7276 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.5366, allocations: 19.98 kB / 0.7276 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.5381, allocations: 151.5 kB / 0.7278 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.5382, allocations: 64.23 kB / 0.7278 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.5383, allocations: 43.95 kB / 0.7279 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001266/0.5396, allocations: 0.9816 MB / 0.7288 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5396, allocations: 3.938 kB / 0.7288 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00183/0.5414, allocations: 0.8889 MB / 0.7297 GB, free: 9.035 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006274/0.5477, allocations: 2.95 MB / 0.7326 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005646/0.5534, allocations: 1.873 MB / 0.7344 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5534, allocations: 8 kB / 0.7344 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.555, allocations: 0.5254 MB / 0.7349 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/0.559, allocations: 0.8093 MB / 0.7357 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/0.5839, allocations: 13.56 MB / 0.749 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.5845, allocations: 1.211 MB / 0.7502 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001448/0.586, allocations: 366.3 kB / 0.7505 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/0.5867, allocations: 0.5734 MB / 0.7511 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5867, allocations: 8 kB / 0.7511 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.026/3.612, allocations: 50.63 MB / 0.8005 GB, free: 476 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/3.613, allocations: 279.5 kB / 0.8008 GB, free: 92 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/6.971, allocations: 8.062 kB / 0.8008 GB, free: 84 kB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)