Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00591/0.00591, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001069/0.001069, allocations: 195.6 kB / 16.68 MB, free: 5.977 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7408/0.7408, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 62.92 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 80.2 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06334/0.2181, allocations: 69.9 MB / 0.7279 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.239, allocations: 14.35 MB / 0.742 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004346/0.2434, allocations: 75.5 kB / 0.742 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.2462, allocations: 0.9122 MB / 0.7429 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.2534, allocations: 2.54 MB / 0.7454 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.259, allocations: 1.979 MB / 0.7473 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008333/0.2673, allocations: 4.676 MB / 0.7519 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2703, allocations: 1.634 MB / 0.7535 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.2746, allocations: 1.771 MB / 0.7552 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.2772, allocations: 1.269 MB / 0.7565 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.2778, allocations: 196 kB / 0.7566 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004779/0.2826, allocations: 1.977 MB / 0.7586 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007733/0.2834, allocations: 470.5 kB / 0.759 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.2853, allocations: 1.027 MB / 0.76 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.2916, allocations: 3.531 MB / 0.7635 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2916, allocations: 0 / 0.7635 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2916, allocations: 4 kB / 0.7635 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.921e-05/0.2917, allocations: 4 kB / 0.7635 GB, free: 2.855 MB / 0.5919 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.005622/0.2974, allocations: 2.353 MB / 0.7658 GB, free: 440 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2974, allocations: 16.02 kB / 0.7658 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.3029, allocations: 0.7017 MB / 0.7665 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.3064, allocations: 1.589 MB / 0.768 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3066, allocations: 136 kB / 0.7682 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.307, allocations: 120 kB / 0.7683 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.3116, allocations: 1.635 MB / 0.7699 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.3117, allocations: 3.938 kB / 0.7699 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.3119, allocations: 52 kB / 0.7699 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/0.312, allocations: 39.92 kB / 0.77 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.3169, allocations: 1.464 MB / 0.7714 GB, free: 10.52 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.01058/0.3275, allocations: 7 MB / 0.7782 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.3297, allocations: 0.7327 MB / 0.779 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.3313, allocations: 499.7 kB / 0.7794 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.3326, allocations: 1.274 MB / 0.7807 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3326, allocations: 43.12 kB / 0.7807 GB, free: 352 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 3.206e-06/0.3326, allocations: 0 / 0.7807 GB, free: 352 kB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.01906/0.3517, allocations: 3.02 MB / 0.7837 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.3518, allocations: 111.4 kB / 0.7838 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.3543, allocations: 1.378 MB / 0.7851 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.3544, allocations: 41.7 kB / 0.7852 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.3551, allocations: 0.7048 MB / 0.7858 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.3554, allocations: 253.8 kB / 0.7861 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/0.3559, allocations: 230.4 kB / 0.7863 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.356, allocations: 345.9 kB / 0.7866 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.3579, allocations: 0.5122 MB / 0.7871 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.3601, allocations: 0.7706 MB / 0.7879 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/0.3637, allocations: 1.137 MB / 0.789 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.3637, allocations: 4 kB / 0.789 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00513/0.3689, allocations: 1.575 MB / 0.7905 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3689, allocations: 8 kB / 0.7905 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.3689, allocations: 8 kB / 0.7906 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.3707, allocations: 492.5 kB / 0.791 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.372, allocations: 259.6 kB / 0.7913 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.3737, allocations: 0.9924 MB / 0.7922 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.3759, allocations: 227 kB / 0.7925 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.3761, allocations: 55.94 kB / 0.7925 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002401/0.3785, allocations: 0.7992 MB / 0.7933 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002058/0.3805, allocations: 0.7706 MB / 0.794 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003466/0.384, allocations: 1.129 MB / 0.7951 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.694e-06/0.384, allocations: 4 kB / 0.7952 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005049/0.3891, allocations: 1.559 MB / 0.7967 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3891, allocations: 8 kB / 0.7967 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3891, allocations: 8.438 kB / 0.7967 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.3908, allocations: 484.5 kB / 0.7972 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.3921, allocations: 259.6 kB / 0.7974 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.3937, allocations: 0.9934 MB / 0.7984 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.3959, allocations: 191.6 kB / 0.7986 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.3961, allocations: 59.95 kB / 0.7986 GB, free: 13.46 MB / 0.6387 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 (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003698/0.3965, allocations: 240.7 kB / 0.7988 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005267/0.397, allocations: 151.1 kB / 0.799 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.4013, allocations: 1.305 MB / 0.8003 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4014, allocations: 4 kB / 0.8003 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4014, allocations: 3.938 kB / 0.8003 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003551/0.4049, allocations: 1.112 MB / 0.8013 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/0.4125, allocations: 3.054 MB / 0.8043 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.4125, allocations: 4 kB / 0.8043 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.4134, allocations: 143.8 kB / 0.8045 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.415, allocations: 488.5 kB / 0.8049 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.4151, allocations: 27.97 kB / 0.805 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.4167, allocations: 0.9934 MB / 0.8059 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4167, allocations: 7.938 kB / 0.8059 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/0.4226, allocations: 1.932 MB / 0.8078 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007957/0.4234, allocations: 367.8 kB / 0.8082 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/0.4238, allocations: 16 kB / 0.8082 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.4256, allocations: 119.9 kB / 0.8083 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4257, allocations: 64.23 kB / 0.8084 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.4258, allocations: 43.95 kB / 0.8084 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001847/0.4277, allocations: 0.9855 MB / 0.8094 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4277, allocations: 4 kB / 0.8094 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002711/0.4304, allocations: 0.9005 MB / 0.8103 GB, free: 1.23 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.4319, allocations: 0.5536 MB / 0.8108 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3555/0.7874, allocations: 1.831 MB / 0.8126 GB, free: 146.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.7874, allocations: 1.375 kB / 0.8126 GB, free: 146.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.7895, allocations: 0.5174 MB / 0.8131 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/0.7933, allocations: 0.8201 MB / 0.8139 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.7989, allocations: 2.711 MB / 0.8165 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.8, allocations: 1.207 MB / 0.8177 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001832/0.8018, allocations: 370.6 kB / 0.8181 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.8022, allocations: 136.1 kB / 0.8182 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.8022, allocations: 0 / 0.8182 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.05/0.8522, allocations: 39.45 MB / 0.8567 GB, free: 117.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)