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.0009131/0.0009134, allocations: 99.11 kB / 16.02 MB, free: 76 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.0008548/0.0008548, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9457/0.9457, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003475, allocations: 12.61 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3908/0.5519, allocations: 123.3 MB / 0.709 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.5759, allocations: 15.37 MB / 0.7241 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.5791, allocations: 66.19 kB / 0.7241 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.5822, allocations: 0.7861 MB / 0.7249 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008706/0.5909, allocations: 2.391 MB / 0.7272 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006504/0.5974, allocations: 1.921 MB / 0.7291 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009348/0.6068, allocations: 6.005 MB / 0.735 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.6095, allocations: 1.367 MB / 0.7363 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.6135, allocations: 1.489 MB / 0.7378 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.6177, allocations: 1.254 MB / 0.739 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.6182, allocations: 69.94 kB / 0.739 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/0.6235, allocations: 1.799 MB / 0.7408 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000728/0.6242, allocations: 365.1 kB / 0.7411 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.6259, allocations: 0.9481 MB / 0.7421 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0043/0.6303, allocations: 2.782 MB / 0.7448 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6303, allocations: 0 / 0.7448 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6303, allocations: 0 / 0.7448 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.114e-05/0.6303, allocations: 0 / 0.7448 GB, free: 12.45 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.004057/0.6344, allocations: 2.064 MB / 0.7468 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6345, allocations: 8.031 kB / 0.7468 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/0.6402, allocations: 0.7554 MB / 0.7475 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.6433, allocations: 1.654 MB / 0.7492 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.6435, allocations: 144.1 kB / 0.7493 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.6437, allocations: 124 kB / 0.7494 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.6479, allocations: 1.743 MB / 0.7511 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.648, allocations: 3.938 kB / 0.7511 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.6481, allocations: 56 kB / 0.7512 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.6482, allocations: 32 kB / 0.7512 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.6532, allocations: 1.547 MB / 0.7527 GB, free: 4.086 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.011/0.6642, allocations: 7.559 MB / 0.7601 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.6685, allocations: 1.189 MB / 0.7613 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.6706, allocations: 0.6117 MB / 0.7619 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.672, allocations: 1.271 MB / 0.7631 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002469/0.6745, allocations: 0.703 MB / 0.7638 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 4.288e-06/0.6745, allocations: 3.938 kB / 0.7638 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01912/0.6937, allocations: 3.265 MB / 0.767 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6938, allocations: 137.2 kB / 0.7671 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.696, allocations: 1.278 MB / 0.7684 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.6962, allocations: 49.7 kB / 0.7684 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007643/0.697, allocations: 0.7153 MB / 0.7691 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.6973, allocations: 272.1 kB / 0.7694 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.6975, allocations: 89.61 kB / 0.7695 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6976, allocations: 337.9 kB / 0.7698 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.6997, allocations: 0.5367 MB / 0.7703 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.7021, allocations: 0.8177 MB / 0.7711 GB, free: 376 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/0.7064, allocations: 1.256 MB / 0.7723 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.7064, allocations: 4 kB / 0.7723 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005813/0.7122, allocations: 1.684 MB / 0.774 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.7125, allocations: 277 kB / 0.7742 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.7125, allocations: 4.547 kB / 0.7742 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.7147, allocations: 0.5756 MB / 0.7748 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.7161, allocations: 251.6 kB / 0.775 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.7183, allocations: 1.178 MB / 0.7762 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.7207, allocations: 234.8 kB / 0.7764 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.721, allocations: 59.94 kB / 0.7765 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.721, allocations: 0 / 0.7765 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005251/0.7262, allocations: 1.52 MB / 0.778 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7263, allocations: 4 kB / 0.778 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.7283, allocations: 0.5695 MB / 0.7785 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.7297, allocations: 259.5 kB / 0.7788 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.7319, allocations: 1.174 MB / 0.7799 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.7341, allocations: 223 kB / 0.7801 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.7343, allocations: 55.95 kB / 0.7802 GB, free: 6.836 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.001052/0.7354, allocations: 480.8 kB / 0.7806 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.7358, allocations: 146.2 kB / 0.7808 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.7492, allocations: 2.172 MB / 0.7829 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.7492, allocations: 8 kB / 0.7829 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7493, allocations: 0 / 0.7829 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01295/0.7622, allocations: 2.005 MB / 0.7849 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009491/0.7718, allocations: 3.672 MB / 0.7884 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.7718, allocations: 0 / 0.7884 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.773, allocations: 187.9 kB / 0.7886 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.775, allocations: 0.5553 MB / 0.7892 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.7751, allocations: 39.94 kB / 0.7892 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.7772, allocations: 1.158 MB / 0.7903 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7773, allocations: 0 / 0.7903 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.7826, allocations: 1.62 MB / 0.7919 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/0.7836, allocations: 418.9 kB / 0.7923 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/0.784, allocations: 16 kB / 0.7923 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/0.786, allocations: 155.7 kB / 0.7925 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.7862, allocations: 64.45 kB / 0.7925 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.7863, allocations: 55.92 kB / 0.7926 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001521/0.7878, allocations: 0.8712 MB / 0.7934 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7878, allocations: 0 / 0.7934 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003125/0.791, allocations: 0.9665 MB / 0.7944 GB, free: 7.953 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.002236/0.7932, allocations: 0.8829 MB / 0.7953 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007397/0.8006, allocations: 2.049 MB / 0.7973 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8007, allocations: 4.062 kB / 0.7973 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.803, allocations: 0.6318 MB / 0.7979 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004755/0.8078, allocations: 0.7483 MB / 0.7986 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.8149, allocations: 3.425 MB / 0.802 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.816, allocations: 1.255 MB / 0.8032 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/0.8166, allocations: 163.3 kB / 0.8033 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.8166, allocations: 0 / 0.8033 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.04987/0.8665, allocations: 37.04 MB / 0.8395 GB, free: 10.06 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)