Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 100.1 kB / 15.88 MB, free: 12 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.001322/0.001322, allocations: 197 kB / 16.79 MB, free: 6.809 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9373/0.9373, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.62 kB / 0.5053 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1717, allocations: 80.94 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4397/0.6114, allocations: 125.2 MB / 0.7066 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.6373, allocations: 15.56 MB / 0.7218 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004537/0.6419, allocations: 76.72 kB / 0.7219 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.646, allocations: 0.7891 MB / 0.7227 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009827/0.6558, allocations: 2.401 MB / 0.725 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006899/0.6628, allocations: 1.905 MB / 0.7269 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.6728, allocations: 6.016 MB / 0.7328 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.676, allocations: 1.406 MB / 0.7341 GB, free: 1.586 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/0.6804, allocations: 1.535 MB / 0.7356 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.6836, allocations: 1.305 MB / 0.7369 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005073/0.6841, allocations: 98.56 kB / 0.737 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/0.6898, allocations: 1.815 MB / 0.7388 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007669/0.6906, allocations: 405.3 kB / 0.7392 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.6926, allocations: 0.9757 MB / 0.7401 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004841/0.6975, allocations: 2.84 MB / 0.7429 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6975, allocations: 0 / 0.7429 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6975, allocations: 0 / 0.7429 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.14e-05/0.6976, allocations: 0 / 0.7429 GB, free: 11.12 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005178/0.7028, allocations: 2.45 MB / 0.7453 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7028, allocations: 8.031 kB / 0.7453 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005937/0.7088, allocations: 0.7124 MB / 0.746 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.7124, allocations: 1.67 MB / 0.7476 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.7126, allocations: 132.1 kB / 0.7477 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.7128, allocations: 128 kB / 0.7479 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.717, allocations: 1.731 MB / 0.7496 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.717, allocations: 0 / 0.7496 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.7172, allocations: 56 kB / 0.7496 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.7172, allocations: 43.92 kB / 0.7497 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/0.7221, allocations: 1.504 MB / 0.7511 GB, free: 2.453 MB / 0.5606 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.0118/0.7339, allocations: 7.547 MB / 0.7585 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.7382, allocations: 1.17 MB / 0.7596 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.7403, allocations: 0.5877 MB / 0.7602 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.7418, allocations: 1.271 MB / 0.7614 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00249/0.7443, allocations: 0.6952 MB / 0.7621 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 6.021e-06/0.7443, allocations: 0 / 0.7621 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01823/0.7626, allocations: 3.163 MB / 0.7652 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/0.7627, allocations: 137.2 kB / 0.7653 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.7647, allocations: 1.282 MB / 0.7666 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.7649, allocations: 45.7 kB / 0.7666 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/0.7656, allocations: 0.727 MB / 0.7674 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.7659, allocations: 284 kB / 0.7676 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.7663, allocations: 214.5 kB / 0.7678 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7664, allocations: 345.9 kB / 0.7682 GB, free: 220 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.7684, allocations: 0.5239 MB / 0.7687 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.7706, allocations: 0.806 MB / 0.7695 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.7747, allocations: 1.229 MB / 0.7707 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.7747, allocations: 0 / 0.7707 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005402/0.7801, allocations: 1.661 MB / 0.7723 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.7802, allocations: 8.062 kB / 0.7723 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7802, allocations: 8 kB / 0.7723 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.7823, allocations: 0.5679 MB / 0.7728 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.7838, allocations: 247.6 kB / 0.7731 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.786, allocations: 1.17 MB / 0.7742 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.7884, allocations: 230.8 kB / 0.7744 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.7886, allocations: 59.94 kB / 0.7745 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002664/0.7912, allocations: 0.8259 MB / 0.7753 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002267/0.7935, allocations: 0.7944 MB / 0.7761 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003994/0.7975, allocations: 1.209 MB / 0.7773 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.222e-06/0.7976, allocations: 4 kB / 0.7773 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00533/0.8029, allocations: 1.636 MB / 0.7789 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8029, allocations: 8 kB / 0.7789 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.803, allocations: 12.56 kB / 0.7789 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.8049, allocations: 0.5669 MB / 0.7794 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.8062, allocations: 243.6 kB / 0.7797 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.8082, allocations: 1.178 MB / 0.7808 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.8104, allocations: 207.1 kB / 0.781 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.8106, allocations: 55.95 kB / 0.7811 GB, free: 2.523 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004511/0.8111, allocations: 248 kB / 0.7813 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005704/0.8116, allocations: 150.2 kB / 0.7815 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.8242, allocations: 2.114 MB / 0.7835 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/0.8243, allocations: 8.047 kB / 0.7835 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8243, allocations: 0 / 0.7835 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01231/0.8367, allocations: 1.958 MB / 0.7854 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009966/0.8467, allocations: 3.645 MB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.8467, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.8479, allocations: 183.8 kB / 0.7892 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.8499, allocations: 0.5515 MB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.8501, allocations: 39.94 kB / 0.7898 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.8521, allocations: 1.142 MB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8521, allocations: 4 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/0.8576, allocations: 1.6 MB / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.8586, allocations: 379 kB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004346/0.8591, allocations: 12 kB / 0.7928 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.8611, allocations: 155.7 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.8613, allocations: 56.47 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.8615, allocations: 59.92 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001742/0.8632, allocations: 0.8712 MB / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8632, allocations: 0 / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003585/0.8668, allocations: 0.9703 MB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.002431/0.8693, allocations: 0.8742 MB / 0.7957 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007516/0.8768, allocations: 2.014 MB / 0.7977 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8769, allocations: 384 / 0.7977 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.8792, allocations: 0.6278 MB / 0.7983 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/0.8835, allocations: 0.7446 MB / 0.799 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.8905, allocations: 3.358 MB / 0.8023 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/0.8914, allocations: 1.255 MB / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/0.892, allocations: 167.3 kB / 0.8037 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of SimCode: time 1.122e-06/0.892, allocations: 0 / 0.8037 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of Templates: time 0.05279/0.9448, allocations: 37.28 MB / 0.8401 GB, free: 6.059 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)