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.006205/0.006205, allocations: 96.3 kB / 15.73 MB, free: 6.484 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.001337/0.001337, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 55.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4555, allocations: 80.92 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1315/0.587, allocations: 126.1 MB / 0.7878 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02194/0.609, allocations: 15.42 MB / 0.8029 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.6121, allocations: 71.56 kB / 0.8029 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.6148, allocations: 0.9704 MB / 0.8039 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007417/0.6223, allocations: 2.593 MB / 0.8064 GB, free: 36 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.6279, allocations: 2.132 MB / 0.8085 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006752/0.6347, allocations: 4.79 MB / 0.8132 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.6372, allocations: 1.704 MB / 0.8148 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.6412, allocations: 1.834 MB / 0.8166 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.6433, allocations: 1.336 MB / 0.8179 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.6437, allocations: 204 kB / 0.8181 GB, free: 4 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.6484, allocations: 2.051 MB / 0.8201 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.649, allocations: 0.4984 MB / 0.8206 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.6502, allocations: 1.089 MB / 0.8217 GB, free: 364 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.6566, allocations: 3.716 MB / 0.8253 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6566, allocations: 0 / 0.8253 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6566, allocations: 0 / 0.8253 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.6567, allocations: 0 / 0.8253 GB, free: 12.63 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.004558/0.6613, allocations: 2.518 MB / 0.8278 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6613, allocations: 12.03 kB / 0.8278 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.6668, allocations: 0.7247 MB / 0.8285 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.6697, allocations: 1.702 MB / 0.8302 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6699, allocations: 136.1 kB / 0.8303 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.6701, allocations: 124 kB / 0.8304 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.6741, allocations: 1.728 MB / 0.8321 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.6741, allocations: 4 kB / 0.8321 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.6743, allocations: 55.94 kB / 0.8321 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.6743, allocations: 47.98 kB / 0.8322 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004813/0.6792, allocations: 1.5 MB / 0.8337 GB, free: 3.84 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.01011/0.6893, allocations: 7.546 MB / 0.841 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.6935, allocations: 1.164 MB / 0.8422 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.6955, allocations: 0.5883 MB / 0.8427 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.6968, allocations: 1.267 MB / 0.844 GB, free: 8.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/0.6991, allocations: 0.6952 MB / 0.8447 GB, free: 7.879 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 3.096e-06/0.6991, allocations: 0 / 0.8447 GB, free: 7.879 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.01778/0.7169, allocations: 3.168 MB / 0.8478 GB, free: 4.684 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.717, allocations: 145.1 kB / 0.8479 GB, free: 4.512 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.7193, allocations: 1.289 MB / 0.8491 GB, free: 3.207 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.7195, allocations: 45.7 kB / 0.8492 GB, free: 3.156 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/0.7202, allocations: 0.7323 MB / 0.8499 GB, free: 2.418 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.7206, allocations: 301.5 kB / 0.8502 GB, free: 2.121 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004517/0.7211, allocations: 222.4 kB / 0.8504 GB, free: 1.898 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7212, allocations: 345.9 kB / 0.8507 GB, free: 1.555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.7232, allocations: 0.5278 MB / 0.8513 GB, free: 1.023 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.7254, allocations: 0.7983 MB / 0.852 GB, free: 124 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.7294, allocations: 1.229 MB / 0.8532 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7295, allocations: 4 kB / 0.8532 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00541/0.7349, allocations: 1.661 MB / 0.8549 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.7349, allocations: 8 kB / 0.8549 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.735, allocations: 8 kB / 0.8549 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.737, allocations: 0.5688 MB / 0.8554 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.7383, allocations: 251.6 kB / 0.8557 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.7404, allocations: 1.168 MB / 0.8568 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.7422, allocations: 183.1 kB / 0.857 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.7424, allocations: 55.95 kB / 0.857 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002492/0.7449, allocations: 0.8298 MB / 0.8578 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002109/0.747, allocations: 0.7981 MB / 0.8586 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003836/0.7509, allocations: 1.213 MB / 0.8598 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.7509, allocations: 0 / 0.8598 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005234/0.7561, allocations: 1.645 MB / 0.8614 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.7561, allocations: 11.98 kB / 0.8614 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7562, allocations: 11.94 kB / 0.8614 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.7581, allocations: 0.5682 MB / 0.862 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.7594, allocations: 243.6 kB / 0.8622 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.7614, allocations: 1.174 MB / 0.8634 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7632, allocations: 159.4 kB / 0.8635 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.7634, allocations: 51.95 kB / 0.8636 GB, free: 3.945 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.0003852/0.7638, allocations: 241.5 kB / 0.8638 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.7642, allocations: 155.1 kB / 0.864 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.7765, allocations: 2.123 MB / 0.866 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.7765, allocations: 8 kB / 0.866 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.7765, allocations: 3.938 kB / 0.866 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3552/1.132, allocations: 1.952 MB / 0.8679 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009185/1.141, allocations: 3.647 MB / 0.8715 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.141, allocations: 3.562 kB / 0.8715 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.142, allocations: 180.9 kB / 0.8717 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/1.144, allocations: 0.5506 MB / 0.8722 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.052e-05/1.144, allocations: 33.12 kB / 0.8722 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.146, allocations: 1.153 MB / 0.8734 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.146, allocations: 4.062 kB / 0.8734 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005135/1.151, allocations: 1.6 MB / 0.8749 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/1.152, allocations: 398.4 kB / 0.8753 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/1.152, allocations: 14.19 kB / 0.8753 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.154, allocations: 114 kB / 0.8754 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.154, allocations: 51.59 kB / 0.8755 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.154, allocations: 58.41 kB / 0.8755 GB, free: 184 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001424/1.155, allocations: 0.8807 MB / 0.8764 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.155, allocations: 1.031 kB / 0.8764 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003463/1.159, allocations: 0.9797 MB / 0.8774 GB, free: 183.6 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.002393/1.161, allocations: 0.8981 MB / 0.8782 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00656/1.168, allocations: 2.032 MB / 0.8802 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.168, allocations: 1.406 kB / 0.8802 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/1.17, allocations: 0.6271 MB / 0.8808 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.173, allocations: 0.768 MB / 0.8816 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/1.178, allocations: 2.726 MB / 0.8843 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.179, allocations: 1.26 MB / 0.8855 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001535/1.181, allocations: 371.6 kB / 0.8858 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/1.181, allocations: 148.2 kB / 0.886 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/1.181, allocations: 0 / 0.886 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.05764/1.239, allocations: 40.29 MB / 0.9253 GB, free: 150.8 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)