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.007789/0.007789, allocations: 109.7 kB / 15.74 MB, free: 6.445 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.001778/0.001778, allocations: 191.5 kB / 16.67 MB, free: 6.355 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.606/1.606, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9824/0.9824, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4594, allocations: 80.92 MB / 0.6647 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1231/0.5825, allocations: 126.1 MB / 0.7878 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.6048, allocations: 15.43 MB / 0.8029 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.6076, allocations: 75.56 kB / 0.803 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.6106, allocations: 0.9939 MB / 0.8039 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007516/0.6182, allocations: 2.719 MB / 0.8066 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.6237, allocations: 2.131 MB / 0.8087 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006703/0.6304, allocations: 4.809 MB / 0.8134 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.6334, allocations: 1.701 MB / 0.815 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005828/0.6393, allocations: 1.876 MB / 0.8168 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.6422, allocations: 1.334 MB / 0.8182 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006775/0.6429, allocations: 204 kB / 0.8183 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005199/0.6481, allocations: 2.053 MB / 0.8204 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000891/0.649, allocations: 0.4945 MB / 0.8208 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.6511, allocations: 1.077 MB / 0.8219 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007912/0.6591, allocations: 3.71 MB / 0.8255 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.6591, allocations: 4 kB / 0.8255 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6591, allocations: 0 / 0.8255 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001138/0.6592, allocations: 0 / 0.8255 GB, free: 12.43 MB / 0.6544 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.005857/0.6651, allocations: 2.451 MB / 0.8279 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6652, allocations: 8.031 kB / 0.8279 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/0.671, allocations: 0.712 MB / 0.8286 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.6745, allocations: 1.693 MB / 0.8303 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.6747, allocations: 136.1 kB / 0.8304 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/0.6751, allocations: 127.9 kB / 0.8305 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.6796, allocations: 1.728 MB / 0.8322 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.6796, allocations: 4 kB / 0.8322 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.6798, allocations: 55.94 kB / 0.8323 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.6799, allocations: 39.94 kB / 0.8323 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.6851, allocations: 1.508 MB / 0.8338 GB, free: 3.723 MB / 0.6544 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.01267/0.6978, allocations: 7.529 MB / 0.8411 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.7021, allocations: 1.16 MB / 0.8423 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.7041, allocations: 0.5883 MB / 0.8428 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.7056, allocations: 1.279 MB / 0.8441 GB, free: 8.477 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002436/0.708, allocations: 0.6991 MB / 0.8448 GB, free: 7.766 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.406e-06/0.708, allocations: 0 / 0.8448 GB, free: 7.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.01823/0.7263, allocations: 3.159 MB / 0.8478 GB, free: 4.578 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.7264, allocations: 145.1 kB / 0.848 GB, free: 4.406 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.7289, allocations: 1.285 MB / 0.8492 GB, free: 3.105 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.7291, allocations: 49.7 kB / 0.8493 GB, free: 3.051 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.7299, allocations: 0.7231 MB / 0.85 GB, free: 2.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.7303, allocations: 284.1 kB / 0.8503 GB, free: 2.039 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.7307, allocations: 226.3 kB / 0.8505 GB, free: 1.812 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7309, allocations: 341.9 kB / 0.8508 GB, free: 1.473 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.733, allocations: 0.5239 MB / 0.8513 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.7352, allocations: 0.7983 MB / 0.8521 GB, free: 44 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/0.7394, allocations: 1.233 MB / 0.8533 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.7394, allocations: 4 kB / 0.8533 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00569/0.7451, allocations: 1.656 MB / 0.8549 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.7452, allocations: 8 kB / 0.8549 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.7452, allocations: 4 kB / 0.8549 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.7473, allocations: 0.5688 MB / 0.8555 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.7487, allocations: 255.5 kB / 0.8557 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.7509, allocations: 1.164 MB / 0.8569 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.753, allocations: 182.8 kB / 0.857 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.7531, allocations: 55.95 kB / 0.8571 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002658/0.7558, allocations: 0.8235 MB / 0.8579 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002249/0.7581, allocations: 0.7981 MB / 0.8587 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004088/0.7622, allocations: 1.213 MB / 0.8599 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.222e-06/0.7622, allocations: 4 kB / 0.8599 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005523/0.7677, allocations: 1.64 MB / 0.8615 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7677, allocations: 8.625 kB / 0.8615 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7678, allocations: 8 kB / 0.8615 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.7697, allocations: 0.5715 MB / 0.862 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.771, allocations: 243.6 kB / 0.8623 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.7731, allocations: 1.17 MB / 0.8634 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.775, allocations: 155.2 kB / 0.8636 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.7752, allocations: 55.95 kB / 0.8636 GB, free: 3.891 MB / 0.6856 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.0004127/0.7756, allocations: 248.9 kB / 0.8639 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/0.7761, allocations: 146.2 kB / 0.864 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.7889, allocations: 2.115 MB / 0.8661 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.7889, allocations: 12.08 kB / 0.8661 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.789, allocations: 3.938 kB / 0.8661 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3874/1.176, allocations: 1.954 MB / 0.868 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00928/1.186, allocations: 3.651 MB / 0.8716 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/1.186, allocations: 1.906 kB / 0.8716 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.187, allocations: 181.2 kB / 0.8717 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/1.189, allocations: 0.5406 MB / 0.8723 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/1.189, allocations: 36.8 kB / 0.8723 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/1.191, allocations: 1.153 MB / 0.8734 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.191, allocations: 4.094 kB / 0.8734 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/1.196, allocations: 1.588 MB / 0.875 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008141/1.197, allocations: 394.5 kB / 0.8753 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/1.197, allocations: 17.78 kB / 0.8754 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.199, allocations: 112.2 kB / 0.8755 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.199, allocations: 54.47 kB / 0.8755 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.199, allocations: 58.52 kB / 0.8756 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002005/1.201, allocations: 0.8786 MB / 0.8764 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/1.201, allocations: 0 / 0.8764 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003838/1.205, allocations: 0.9648 MB / 0.8774 GB, free: 183.3 MB / 0.6856 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.002469/1.208, allocations: 0.8987 MB / 0.8783 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009347/1.217, allocations: 2.022 MB / 0.8802 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.217, allocations: 1.219 kB / 0.8802 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003484/1.221, allocations: 0.6325 MB / 0.8808 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006108/1.227, allocations: 0.7594 MB / 0.8816 GB, free: 182 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009374/1.236, allocations: 2.691 MB / 0.8842 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.238, allocations: 1.26 MB / 0.8854 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002844/1.24, allocations: 368.6 kB / 0.8858 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/1.241, allocations: 148.5 kB / 0.8859 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of SimCode: time 1.022e-06/1.241, allocations: 3.938 kB / 0.8859 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.08502/1.326, allocations: 40.29 MB / 0.9253 GB, free: 150.5 MB / 0.6856 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)