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: 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.001351/0.001351, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.722/0.722, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 72.83 kB / 0.5018 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3434, allocations: 80.2 MB / 0.5801 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06442/0.4079, allocations: 69.94 MB / 0.6484 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.4267, allocations: 14.35 MB / 0.6624 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.4291, allocations: 75.56 kB / 0.6625 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.4313, allocations: 0.9238 MB / 0.6634 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00594/0.4373, allocations: 2.536 MB / 0.6658 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.442, allocations: 1.962 MB / 0.6678 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00615/0.4482, allocations: 4.636 MB / 0.6723 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.451, allocations: 1.614 MB / 0.6739 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004653/0.4557, allocations: 1.762 MB / 0.6756 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.4579, allocations: 1.276 MB / 0.6768 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007788/0.4587, allocations: 196 kB / 0.677 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.4636, allocations: 1.923 MB / 0.6789 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007104/0.4644, allocations: 462.5 kB / 0.6793 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.4661, allocations: 1.023 MB / 0.6803 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004959/0.4711, allocations: 3.487 MB / 0.6837 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4711, allocations: 0 / 0.6837 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4711, allocations: 0 / 0.6837 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.766e-05/0.4711, allocations: 4 kB / 0.6837 GB, free: 7.145 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.003796/0.4749, allocations: 2.306 MB / 0.686 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.475, allocations: 12.03 kB / 0.686 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/0.4805, allocations: 0.7009 MB / 0.6867 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.4827, allocations: 1.525 MB / 0.6882 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.4829, allocations: 128 kB / 0.6883 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.4831, allocations: 116 kB / 0.6884 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.4867, allocations: 1.654 MB / 0.69 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4867, allocations: 0 / 0.69 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.4868, allocations: 55.94 kB / 0.6901 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.4869, allocations: 47.92 kB / 0.6901 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.4915, allocations: 1.472 MB / 0.6916 GB, free: 14.89 MB / 0.5294 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.009104/0.5006, allocations: 7.326 MB / 0.6987 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.5029, allocations: 0.8185 MB / 0.6995 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.5046, allocations: 0.502 MB / 0.7 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.5059, allocations: 1.274 MB / 0.7013 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5059, allocations: 47.06 kB / 0.7013 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.315e-06/0.5059, allocations: 0 / 0.7013 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02985/0.5358, allocations: 4.139 MB / 0.7053 GB, free: 72 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.536, allocations: 115.4 kB / 0.7055 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.5386, allocations: 1.386 MB / 0.7068 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.5388, allocations: 41.7 kB / 0.7068 GB, free: 14.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007324/0.5396, allocations: 0.6842 MB / 0.7075 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.54, allocations: 240.5 kB / 0.7077 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.5405, allocations: 230.3 kB / 0.708 GB, free: 13.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5406, allocations: 337.9 kB / 0.7083 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.5427, allocations: 0.5083 MB / 0.7088 GB, free: 12.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.545, allocations: 0.7706 MB / 0.7095 GB, free: 11.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.5489, allocations: 1.144 MB / 0.7107 GB, free: 10.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.5489, allocations: 0 / 0.7107 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005843/0.5548, allocations: 1.59 MB / 0.7122 GB, free: 8.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.5548, allocations: 12.06 kB / 0.7122 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.5549, allocations: 8 kB / 0.7122 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.557, allocations: 0.567 MB / 0.7128 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.5585, allocations: 243.6 kB / 0.713 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.5609, allocations: 1.16 MB / 0.7141 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.5637, allocations: 226.7 kB / 0.7144 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.564, allocations: 55.94 kB / 0.7144 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002931/0.5669, allocations: 0.8 MB / 0.7152 GB, free: 5.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002269/0.5692, allocations: 0.7667 MB / 0.7159 GB, free: 4.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003809/0.573, allocations: 1.137 MB / 0.7171 GB, free: 3.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-06/0.573, allocations: 0 / 0.7171 GB, free: 3.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005358/0.5784, allocations: 1.593 MB / 0.7186 GB, free: 1.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5784, allocations: 4 kB / 0.7186 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5785, allocations: 8.562 kB / 0.7186 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.5804, allocations: 0.5642 MB / 0.7192 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5817, allocations: 243.6 kB / 0.7194 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5836, allocations: 1.166 MB / 0.7205 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.5859, allocations: 195.2 kB / 0.7207 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.586, allocations: 51.95 kB / 0.7208 GB, free: 15.74 MB / 0.5606 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.0003396/0.5864, allocations: 236.1 kB / 0.721 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.5868, allocations: 150.2 kB / 0.7211 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.5914, allocations: 1.358 MB / 0.7225 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5914, allocations: 8 kB / 0.7225 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5914, allocations: 0 / 0.7225 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003851/0.5953, allocations: 1.172 MB / 0.7236 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008051/0.6033, allocations: 3.469 MB / 0.727 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6034, allocations: 8.359 kB / 0.727 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.6043, allocations: 143.7 kB / 0.7272 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.6061, allocations: 0.5544 MB / 0.7277 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.6062, allocations: 31.91 kB / 0.7277 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.6081, allocations: 1.159 MB / 0.7289 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.6081, allocations: 4 kB / 0.7289 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.6126, allocations: 1.442 MB / 0.7303 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/0.6133, allocations: 363 kB / 0.7306 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.6137, allocations: 16 kB / 0.7306 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.6155, allocations: 119.8 kB / 0.7307 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6156, allocations: 60.25 kB / 0.7308 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.6157, allocations: 52 kB / 0.7309 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00173/0.6175, allocations: 0.9732 MB / 0.7318 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6175, allocations: 0 / 0.7318 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002647/0.6201, allocations: 0.8967 MB / 0.7327 GB, free: 3.164 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.001541/0.6217, allocations: 0.5489 MB / 0.7332 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007097/0.6288, allocations: 1.886 MB / 0.7351 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.6288, allocations: 0 / 0.7351 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/0.6309, allocations: 0.5457 MB / 0.7356 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/0.6354, allocations: 0.8218 MB / 0.7364 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/0.6427, allocations: 2.682 MB / 0.739 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.6437, allocations: 1.211 MB / 0.7402 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001832/0.6456, allocations: 335.6 kB / 0.7405 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.6459, allocations: 127.3 kB / 0.7406 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.6459, allocations: 0 / 0.7406 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.06091/0.7069, allocations: 40.04 MB / 0.7797 GB, free: 3.395 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (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)