Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, 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.009969/0.009969, allocations: 170.3 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 16.19 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4728, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1433/0.6161, allocations: 127.9 MB / 0.7086 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03858/0.6547, allocations: 24.89 MB / 0.7329 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006012/0.6608, allocations: 119.2 kB / 0.733 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00575/0.6666, allocations: 1.406 MB / 0.7344 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.6821, allocations: 4.159 MB / 0.7385 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.6927, allocations: 3.189 MB / 0.7416 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01654/0.7093, allocations: 11.44 MB / 0.7527 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005397/0.7147, allocations: 2.534 MB / 0.7552 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007498/0.7222, allocations: 2.765 MB / 0.7579 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0048/0.7271, allocations: 2.313 MB / 0.7602 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.7283, allocations: 128 kB / 0.7603 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008541/0.7368, allocations: 2.476 MB / 0.7627 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.7386, allocations: 0.626 MB / 0.7633 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004598/0.7432, allocations: 1.712 MB / 0.765 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.7575, allocations: 6.051 MB / 0.7709 GB, free: 128 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.7575, allocations: 0 / 0.7709 GB, free: 128 kB / 0.5919 GB Notification: Performance of FrontEnd: time 3.277e-06/0.7576, allocations: 4 kB / 0.7709 GB, free: 124 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000245/0.7578, allocations: 4 kB / 0.7709 GB, free: 120 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01072/0.7685, allocations: 3.366 MB / 0.7742 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.7686, allocations: 8.031 kB / 0.7742 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.7808, allocations: 1.459 MB / 0.7756 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/0.7876, allocations: 2.941 MB / 0.7785 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.788, allocations: 251.9 kB / 0.7788 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008931/0.7889, allocations: 240 kB / 0.779 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.7995, allocations: 3.244 MB / 0.7821 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.893e-05/0.7997, allocations: 11.84 kB / 0.7822 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000532/0.8002, allocations: 104 kB / 0.7823 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.8003, allocations: 71.98 kB / 0.7823 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.811, allocations: 2.897 MB / 0.7852 GB, free: 1.137 MB / 0.6075 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.02592/0.8369, allocations: 13.47 MB / 0.7983 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005119/0.8421, allocations: 1.519 MB / 0.7998 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003793/0.8459, allocations: 0.9683 MB / 0.8007 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002983/0.8489, allocations: 1.786 MB / 0.8025 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004907/0.8539, allocations: 1.238 MB / 0.8037 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=130): time 9.418e-06/0.854, allocations: 0 / 0.8037 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=130): time 0.04363/0.8976, allocations: 6.026 MB / 0.8096 GB, free: 7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003861/0.898, allocations: 0.5882 MB / 0.8102 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005319/0.9034, allocations: 2.512 MB / 0.8126 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004473/0.9038, allocations: 67.55 kB / 0.8127 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.9054, allocations: 1.336 MB / 0.814 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000601/0.906, allocations: 457.5 kB / 0.8144 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.9063, allocations: 149.6 kB / 0.8146 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9064, allocations: 305.1 kB / 0.8148 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/0.9105, allocations: 1.031 MB / 0.8158 GB, free: 396 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3291/1.24, allocations: 1.618 MB / 0.8174 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007969/1.248, allocations: 2.335 MB / 0.8197 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/1.248, allocations: 6.484 kB / 0.8197 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02566/1.273, allocations: 4.218 MB / 0.8238 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003048/1.274, allocations: 478.3 kB / 0.8243 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.274, allocations: 11.84 kB / 0.8243 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/1.277, allocations: 0.9601 MB / 0.8252 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/1.281, allocations: 0.4987 MB / 0.8257 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/1.284, allocations: 1.995 MB / 0.8277 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/1.29, allocations: 0.5204 MB / 0.8282 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005591/1.29, allocations: 105.7 kB / 0.8283 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.29, allocations: 3.312 kB / 0.8283 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0235/1.314, allocations: 3.935 MB / 0.8321 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/1.314, allocations: 15.47 kB / 0.8321 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/1.317, allocations: 0.9602 MB / 0.8331 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/1.32, allocations: 0.4948 MB / 0.8336 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/1.323, allocations: 1.994 MB / 0.8355 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004644/1.328, allocations: 470.9 kB / 0.836 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/1.329, allocations: 106 kB / 0.8361 GB, free: 202.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.001562/1.33, allocations: 0.6953 MB / 0.8367 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006773/1.331, allocations: 280.1 kB / 0.837 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.342, allocations: 2.572 MB / 0.8395 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/1.343, allocations: 14.22 kB / 0.8395 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.343, allocations: 7.188 kB / 0.8395 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01047/1.353, allocations: 2.195 MB / 0.8417 GB, free: 200 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.379, allocations: 7.578 MB / 0.8491 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/1.379, allocations: 10.12 kB / 0.8491 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.381, allocations: 298.7 kB / 0.8494 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/1.384, allocations: 0.9358 MB / 0.8503 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/1.385, allocations: 54.53 kB / 0.8503 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/1.387, allocations: 1.993 MB / 0.8523 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.388, allocations: 11.44 kB / 0.8523 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.4, allocations: 3.733 MB / 0.8559 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.402, allocations: 0.6669 MB / 0.8566 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007087/1.402, allocations: 39.98 kB / 0.8566 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00404/1.406, allocations: 303.2 kB / 0.8569 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/1.407, allocations: 112.7 kB / 0.857 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.407, allocations: 75.92 kB / 0.8571 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002809/1.41, allocations: 1.759 MB / 0.8588 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.41e-07/1.41, allocations: 0 / 0.8588 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006773/1.416, allocations: 1.685 MB / 0.8605 GB, free: 186 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001983/1.418, allocations: 0.8044 MB / 0.8613 GB, free: 185.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.431, allocations: 3.785 MB / 0.8649 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.431, allocations: 4.438 kB / 0.865 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003815/1.435, allocations: 1.107 MB / 0.866 GB, free: 180.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009995/1.445, allocations: 1.439 MB / 0.8674 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.456, allocations: 6.262 MB / 0.8736 GB, free: 172.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009647/1.457, allocations: 1.715 MB / 0.8752 GB, free: 170.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003565/1.461, allocations: 0.6899 MB / 0.8759 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/1.461, allocations: 239.3 kB / 0.8761 GB, free: 170 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.461, allocations: 4 kB / 0.8761 GB, free: 170 MB / 0.6387 GB Notification: Performance of Templates: time 0.09418/1.555, allocations: 70.49 MB / 0.945 GB, free: 100.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)