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-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_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.0008645/0.0008646, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.0009/0.0009001, allocations: 173.3 kB / 15.95 MB, free: 212 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.174/1.174, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8021/0.8021, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002929, allocations: 12 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 82.32 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.3172/0.4548, allocations: 109.4 MB / 0.694 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02984/0.4846, allocations: 21.32 MB / 0.7148 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.4887, allocations: 112.7 kB / 0.7149 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.493, allocations: 1.457 MB / 0.7164 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.5052, allocations: 4.177 MB / 0.7204 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009203/0.5144, allocations: 3.129 MB / 0.7235 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.5253, allocations: 5.101 MB / 0.7285 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00374/0.529, allocations: 2.288 MB / 0.7307 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005554/0.5346, allocations: 2.434 MB / 0.7331 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.5376, allocations: 1.586 MB / 0.7346 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.5379, allocations: 130.6 kB / 0.7348 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/0.5427, allocations: 1.74 MB / 0.7365 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.5432, allocations: 0.5758 MB / 0.737 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008598/0.5441, allocations: 0.7329 MB / 0.7377 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.5488, allocations: 4.577 MB / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5488, allocations: 3.938 kB / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5488, allocations: 4 kB / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.301e-05/0.5489, allocations: 0 / 0.7422 GB, free: 13.68 MB / 0.5606 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.005706/0.5546, allocations: 3.357 MB / 0.7455 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5546, allocations: 12.03 kB / 0.7455 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009713/0.5644, allocations: 1.451 MB / 0.7469 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/0.5685, allocations: 2.725 MB / 0.7496 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.5687, allocations: 263.9 kB / 0.7498 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.569, allocations: 236 kB / 0.7501 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006617/0.5756, allocations: 3.197 MB / 0.7532 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.5757, allocations: 7.938 kB / 0.7532 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.5759, allocations: 104 kB / 0.7533 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.462e-05/0.576, allocations: 67.98 kB / 0.7534 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008426/0.5845, allocations: 2.885 MB / 0.7562 GB, free: 14.99 MB / 0.5762 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.01837/0.6028, allocations: 13.52 MB / 0.7694 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.6069, allocations: 1.535 MB / 0.7709 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.6085, allocations: 1.786 MB / 0.7726 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003382/0.6119, allocations: 1.236 MB / 0.7738 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=130): time 3.166e-06/0.6119, allocations: 0 / 0.7738 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.03731/0.6493, allocations: 5.982 MB / 0.7797 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000247/0.6495, allocations: 0.5727 MB / 0.7802 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/0.6541, allocations: 2.596 MB / 0.7828 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/0.6545, allocations: 65.7 kB / 0.7828 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.6557, allocations: 1.34 MB / 0.7841 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.6562, allocations: 457.5 kB / 0.7846 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.6563, allocations: 36 kB / 0.7846 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6565, allocations: 369.9 kB / 0.785 GB, free: 212 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/0.66, allocations: 1.023 MB / 0.786 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/0.664, allocations: 1.599 MB / 0.7875 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/0.6676, allocations: 1.151 MB / 0.7886 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.6676, allocations: 4 kB / 0.7887 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02025/0.6879, allocations: 4.144 MB / 0.7927 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001935/0.6898, allocations: 5.022 MB / 0.7976 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.6899, allocations: 12.12 kB / 0.7976 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/0.6932, allocations: 0.9601 MB / 0.7986 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.696, allocations: 0.507 MB / 0.799 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.6991, allocations: 1.988 MB / 0.801 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/0.7037, allocations: 0.5329 MB / 0.8015 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.704, allocations: 111.9 kB / 0.8016 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.704, allocations: 4 kB / 0.8016 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01973/0.7238, allocations: 3.863 MB / 0.8054 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/0.7238, allocations: 12 kB / 0.8054 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003251/0.7271, allocations: 0.9548 MB / 0.8063 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.7298, allocations: 0.5031 MB / 0.8068 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.7329, allocations: 1.993 MB / 0.8088 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/0.737, allocations: 471.4 kB / 0.8092 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/0.7374, allocations: 103.9 kB / 0.8093 GB, free: 6.453 MB / 0.6231 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001479/0.7388, allocations: 0.6979 MB / 0.81 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/0.7395, allocations: 268.8 kB / 0.8103 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.7501, allocations: 2.583 MB / 0.8128 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.7501, allocations: 12 kB / 0.8128 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.7501, allocations: 4 kB / 0.8128 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009096/0.7592, allocations: 2.193 MB / 0.8149 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/0.7843, allocations: 7.6 MB / 0.8224 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.7843, allocations: 8 kB / 0.8224 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.786, allocations: 304 kB / 0.8227 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/0.7889, allocations: 0.9402 MB / 0.8236 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7891, allocations: 44.08 kB / 0.8236 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.792, allocations: 1.994 MB / 0.8256 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.792, allocations: 8 kB / 0.8256 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.8031, allocations: 4.458 MB / 0.8299 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/0.8046, allocations: 0.6965 MB / 0.8306 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/0.8052, allocations: 39.78 kB / 0.8306 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/0.8084, allocations: 302.5 kB / 0.8309 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.8086, allocations: 116.7 kB / 0.831 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.8088, allocations: 75.92 kB / 0.8311 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002992/0.8118, allocations: 1.821 MB / 0.8329 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8118, allocations: 0 / 0.8329 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004261/0.816, allocations: 1.7 MB / 0.8346 GB, free: 11.81 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.8175, allocations: 0.8287 MB / 0.8354 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01119/0.8287, allocations: 3.759 MB / 0.839 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.8287, allocations: 4.438 kB / 0.839 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.8321, allocations: 1.099 MB / 0.8401 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/0.8377, allocations: 1.37 MB / 0.8415 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.8479, allocations: 5.959 MB / 0.8473 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.8492, allocations: 1.781 MB / 0.849 GB, free: 12.85 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002973/0.8522, allocations: 0.6868 MB / 0.8497 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/0.8527, allocations: 231.3 kB / 0.8499 GB, free: 11.95 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.8527, allocations: 0 / 0.8499 GB, free: 11.95 MB / 0.67 GB Notification: Performance of Templates: time 0.3155/1.168, allocations: 68.18 MB / 0.9165 GB, free: 192.1 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: