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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0008934/0.0008935, allocations: 177.3 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.181/1.181, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8273/0.8273, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.2751/0.4092, allocations: 58.52 MB / 0.6444 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.4217, allocations: 12.14 MB / 0.6562 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.4235, allocations: 61.41 kB / 0.6563 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.4254, allocations: 0.7957 MB / 0.6571 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.4306, allocations: 2.223 MB / 0.6592 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.4352, allocations: 1.89 MB / 0.6611 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004549/0.4397, allocations: 2.655 MB / 0.6637 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.4413, allocations: 1.169 MB / 0.6648 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.4439, allocations: 1.265 MB / 0.666 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.445, allocations: 0.8277 MB / 0.6668 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.4452, allocations: 68 kB / 0.6669 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.448, allocations: 1.172 MB / 0.6681 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.4483, allocations: 303.2 kB / 0.6683 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.4488, allocations: 398.7 kB / 0.6687 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.4519, allocations: 2.43 MB / 0.6711 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4519, allocations: 0.9375 kB / 0.6711 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4519, allocations: 0 / 0.6711 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.318e-05/0.4519, allocations: 0 / 0.6711 GB, free: 3.133 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003477/0.4554, allocations: 1.924 MB / 0.673 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.4555, allocations: 9.438 kB / 0.673 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/0.4606, allocations: 0.7407 MB / 0.6737 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.4631, allocations: 1.441 MB / 0.6751 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4632, allocations: 136.2 kB / 0.6752 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.4634, allocations: 120.1 kB / 0.6754 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/0.4671, allocations: 1.664 MB / 0.677 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.4672, allocations: 6.188 kB / 0.677 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.4673, allocations: 50.17 kB / 0.677 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.4674, allocations: 36.47 kB / 0.6771 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/0.4721, allocations: 1.519 MB / 0.6786 GB, free: 15.45 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.01021/0.4823, allocations: 7.33 MB / 0.6857 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.4846, allocations: 0.8335 MB / 0.6865 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.4858, allocations: 1.274 MB / 0.6878 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4858, allocations: 42.95 kB / 0.6878 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.384e-06/0.4858, allocations: 0 / 0.6878 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70): time 0.02793/0.5138, allocations: 4.276 MB / 0.692 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.5138, allocations: 114 kB / 0.6921 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.516, allocations: 1.407 MB / 0.6935 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.5161, allocations: 49.28 kB / 0.6935 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.5167, allocations: 0.679 MB / 0.6942 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.5169, allocations: 243.4 kB / 0.6944 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.517, allocations: 15.78 kB / 0.6944 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5171, allocations: 342.8 kB / 0.6948 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.519, allocations: 0.5161 MB / 0.6953 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.521, allocations: 0.7916 MB / 0.696 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.5229, allocations: 0.5684 MB / 0.6966 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.5229, allocations: 6.469 kB / 0.6966 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005057/0.528, allocations: 1.616 MB / 0.6982 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008162/0.5288, allocations: 2.495 MB / 0.7006 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5288, allocations: 10.16 kB / 0.7006 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.5307, allocations: 0.5753 MB / 0.7012 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.532, allocations: 258.2 kB / 0.7014 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.5339, allocations: 1.174 MB / 0.7026 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.5364, allocations: 284.3 kB / 0.7028 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5365, allocations: 53.23 kB / 0.7029 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.5365, allocations: 3.75 kB / 0.7029 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004613/0.5412, allocations: 1.468 MB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5412, allocations: 6.188 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.5429, allocations: 0.5688 MB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.5442, allocations: 250.1 kB / 0.7051 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.546, allocations: 1.171 MB / 0.7063 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.5482, allocations: 253 kB / 0.7065 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5483, allocations: 52.95 kB / 0.7066 GB, free: 13.74 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 ($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 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008761/0.5492, allocations: 451.1 kB / 0.707 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.5495, allocations: 153.7 kB / 0.7071 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/0.5537, allocations: 1.401 MB / 0.7085 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5538, allocations: 10.22 kB / 0.7085 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5538, allocations: 3.938 kB / 0.7085 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003491/0.5573, allocations: 1.211 MB / 0.7097 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007517/0.5648, allocations: 3.534 MB / 0.7132 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5648, allocations: 3.281 kB / 0.7132 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.5656, allocations: 146.6 kB / 0.7133 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.5674, allocations: 0.5632 MB / 0.7139 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.5674, allocations: 25.78 kB / 0.7139 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.5692, allocations: 1.16 MB / 0.715 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.5693, allocations: 11.94 kB / 0.715 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/0.5736, allocations: 1.71 MB / 0.7167 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.5744, allocations: 410.8 kB / 0.7171 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.5747, allocations: 19.98 kB / 0.7171 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.5764, allocations: 163.7 kB / 0.7173 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5765, allocations: 60.25 kB / 0.7173 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/0.5766, allocations: 43.95 kB / 0.7174 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001555/0.5781, allocations: 0.9927 MB / 0.7183 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5781, allocations: 0 / 0.7183 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002528/0.5807, allocations: 0.9084 MB / 0.7192 GB, free: 3.492 MB / 0.5294 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.5818, allocations: 0.5362 MB / 0.7197 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006183/0.588, allocations: 1.902 MB / 0.7216 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.588, allocations: 8.375 kB / 0.7216 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.5898, allocations: 0.557 MB / 0.7222 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.5933, allocations: 0.7666 MB / 0.7229 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.5994, allocations: 3.124 MB / 0.726 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.6001, allocations: 1.238 MB / 0.7272 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001582/0.6017, allocations: 327.9 kB / 0.7275 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.602, allocations: 123.3 kB / 0.7276 GB, free: 10.82 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.602, allocations: 0 / 0.7276 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Templates: time 0.04892/0.6509, allocations: 37.51 MB / 0.7642 GB, free: 5.695 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile Environment - environmentSimulation: (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 & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: