Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008788/0.0008788, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009365/0.0009366, allocations: 177.3 kB / 15.95 MB, free: 216 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.172/1.172, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8128/0.8128, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003069, allocations: 8 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 82.31 MB / 0.5872 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.3141/0.4552, allocations: 109.4 MB / 0.694 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03054/0.4858, allocations: 21.32 MB / 0.7148 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004582/0.4904, allocations: 112.2 kB / 0.7149 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005902/0.4963, allocations: 1.461 MB / 0.7164 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.511, allocations: 4.182 MB / 0.7205 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009798/0.5208, allocations: 3.125 MB / 0.7235 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0105/0.5313, allocations: 5.092 MB / 0.7285 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00406/0.5354, allocations: 2.295 MB / 0.7307 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/0.5411, allocations: 2.438 MB / 0.7331 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/0.5446, allocations: 1.581 MB / 0.7346 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007331/0.5453, allocations: 129.8 kB / 0.7348 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005972/0.5513, allocations: 1.746 MB / 0.7365 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.5525, allocations: 0.5708 MB / 0.737 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.5541, allocations: 0.7334 MB / 0.7377 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007205/0.5614, allocations: 4.573 MB / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5614, allocations: 0 / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5614, allocations: 0 / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000246/0.5617, allocations: 4 kB / 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.009583/0.5713, allocations: 3.361 MB / 0.7455 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5713, allocations: 12.03 kB / 0.7455 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.5817, allocations: 1.451 MB / 0.7469 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/0.587, allocations: 2.725 MB / 0.7496 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.5874, allocations: 259.9 kB / 0.7498 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005656/0.5879, allocations: 240 kB / 0.7501 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007516/0.5955, allocations: 3.197 MB / 0.7532 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.5955, allocations: 7.938 kB / 0.7532 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.5959, allocations: 100 kB / 0.7533 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.91e-05/0.5959, allocations: 75.92 kB / 0.7534 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00871/0.6047, allocations: 2.885 MB / 0.7562 GB, free: 14.98 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.0191/0.6238, allocations: 13.52 MB / 0.7694 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.628, allocations: 1.52 MB / 0.7709 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.6298, allocations: 1.785 MB / 0.7726 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00353/0.6333, allocations: 1.244 MB / 0.7738 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=130): time 4.498e-06/0.6333, allocations: 0 / 0.7738 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.03781/0.6712, allocations: 5.979 MB / 0.7797 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/0.6714, allocations: 0.5766 MB / 0.7802 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004199/0.6756, allocations: 2.591 MB / 0.7828 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.676, allocations: 65.69 kB / 0.7828 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.6772, allocations: 1.348 MB / 0.7841 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.6778, allocations: 453.5 kB / 0.7846 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.678, allocations: 40 kB / 0.7846 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6782, allocations: 373.9 kB / 0.785 GB, free: 204 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/0.6818, allocations: 1.019 MB / 0.786 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0041/0.6859, allocations: 1.595 MB / 0.7875 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.6897, allocations: 1.158 MB / 0.7886 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.6898, allocations: 4 kB / 0.7887 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02057/0.7103, allocations: 4.135 MB / 0.7927 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.002002/0.7124, allocations: 5.03 MB / 0.7976 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.7124, allocations: 15.95 kB / 0.7976 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/0.7158, allocations: 0.9553 MB / 0.7986 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.7187, allocations: 0.5109 MB / 0.7991 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.7219, allocations: 1.986 MB / 0.801 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/0.7266, allocations: 0.5291 MB / 0.8015 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/0.7269, allocations: 111.9 kB / 0.8016 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.727, allocations: 4 kB / 0.8016 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01977/0.7467, allocations: 3.863 MB / 0.8054 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.7468, allocations: 15.94 kB / 0.8054 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/0.7499, allocations: 0.9465 MB / 0.8063 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.7526, allocations: 0.5031 MB / 0.8068 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.7555, allocations: 1.989 MB / 0.8088 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004094/0.7597, allocations: 474.7 kB / 0.8092 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003166/0.76, allocations: 108.1 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.001478/0.7615, allocations: 0.692 MB / 0.81 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007077/0.7622, allocations: 268.8 kB / 0.8103 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.7727, allocations: 2.583 MB / 0.8128 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.7727, allocations: 12.19 kB / 0.8128 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.7727, allocations: 7.938 kB / 0.8128 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009362/0.7821, allocations: 2.197 MB / 0.8149 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/0.8087, allocations: 7.6 MB / 0.8224 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.8088, allocations: 8 kB / 0.8224 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.8106, allocations: 303.8 kB / 0.8227 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/0.8138, allocations: 0.9441 MB / 0.8236 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/0.8141, allocations: 51.91 kB / 0.8236 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.8172, allocations: 1.979 MB / 0.8256 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.8173, allocations: 11.94 kB / 0.8256 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.829, allocations: 4.458 MB / 0.8299 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.8308, allocations: 0.7041 MB / 0.8306 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007671/0.8316, allocations: 32 kB / 0.8306 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/0.835, allocations: 301.8 kB / 0.8309 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.8353, allocations: 116.7 kB / 0.831 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.8355, allocations: 75.92 kB / 0.8311 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003491/0.839, allocations: 1.817 MB / 0.8329 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.01e-07/0.839, allocations: 0 / 0.8329 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005731/0.8447, allocations: 1.7 MB / 0.8345 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.002085/0.8468, allocations: 0.8269 MB / 0.8354 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01254/0.8594, allocations: 3.764 MB / 0.839 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/0.8594, allocations: 4.438 kB / 0.839 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/0.8632, allocations: 1.103 MB / 0.8401 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006547/0.8697, allocations: 1.368 MB / 0.8414 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.8819, allocations: 5.971 MB / 0.8473 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.8837, allocations: 1.773 MB / 0.849 GB, free: 12.85 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003871/0.8876, allocations: 0.6969 MB / 0.8497 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/0.8883, allocations: 235.3 kB / 0.8499 GB, free: 11.93 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.8883, allocations: 3.938 kB / 0.8499 GB, free: 11.93 MB / 0.67 GB Notification: Performance of Templates: time 0.3549/1.243, allocations: 68.15 MB / 0.9165 GB, free: 192.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: