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.001242/0.001243, allocations: 104.3 kB / 15.99 MB, free: 6.301 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.001219/0.001219, allocations: 195.2 kB / 16.91 MB, free: 6.152 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.311/1.311, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8105/0.8105, allocations: 135.2 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.88 kB / 0.5055 GB, free: 8.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 80.91 MB / 0.5846 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1141/0.4395, allocations: 125 MB / 0.7066 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.4615, allocations: 15.27 MB / 0.7215 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/0.4641, allocations: 71.56 kB / 0.7216 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.4668, allocations: 0.8317 MB / 0.7224 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006904/0.4738, allocations: 2.423 MB / 0.7247 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005345/0.4791, allocations: 1.96 MB / 0.7267 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006802/0.486, allocations: 4.797 MB / 0.7313 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.4887, allocations: 1.708 MB / 0.733 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.4932, allocations: 1.857 MB / 0.7348 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.4954, allocations: 1.369 MB / 0.7362 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.4958, allocations: 204 kB / 0.7364 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.4998, allocations: 2.008 MB / 0.7383 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.5004, allocations: 0.4945 MB / 0.7388 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.5019, allocations: 1.089 MB / 0.7399 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.506, allocations: 2.885 MB / 0.7427 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.506, allocations: 0 / 0.7427 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.41e-07/0.506, allocations: 0 / 0.7427 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.5061, allocations: 0 / 0.7427 GB, free: 8.383 MB / 0.5762 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.004211/0.5103, allocations: 2.447 MB / 0.7451 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5103, allocations: 13.09 kB / 0.7451 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/0.5161, allocations: 0.716 MB / 0.7458 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.519, allocations: 1.662 MB / 0.7474 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5192, allocations: 136.1 kB / 0.7475 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.5194, allocations: 124 kB / 0.7477 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/0.5235, allocations: 1.738 MB / 0.7493 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.5236, allocations: 4 kB / 0.7494 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.5237, allocations: 55.98 kB / 0.7494 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.5238, allocations: 43.94 kB / 0.7494 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2521/0.7759, allocations: 1.501 MB / 0.7509 GB, free: 159.4 MB / 0.5762 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.009239/0.7851, allocations: 7.531 MB / 0.7583 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.7891, allocations: 1.161 MB / 0.7594 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.791, allocations: 0.5948 MB / 0.76 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009771/0.792, allocations: 1.279 MB / 0.7612 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/0.7944, allocations: 0.6893 MB / 0.7619 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.895e-06/0.7944, allocations: 0 / 0.7619 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01678/0.8112, allocations: 3.174 MB / 0.765 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.8113, allocations: 147.2 kB / 0.7651 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.8128, allocations: 1.272 MB / 0.7664 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.813, allocations: 46.45 kB / 0.7664 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.8134, allocations: 0.7186 MB / 0.7671 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.8136, allocations: 279.2 kB / 0.7674 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.8139, allocations: 221.4 kB / 0.7676 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.814, allocations: 344 kB / 0.7679 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.8158, allocations: 0.5281 MB / 0.7685 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.8176, allocations: 0.7986 MB / 0.7692 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/0.821, allocations: 1.229 MB / 0.7704 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.821, allocations: 0 / 0.7704 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004478/0.8255, allocations: 1.662 MB / 0.7721 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8256, allocations: 6 kB / 0.7721 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.8256, allocations: 6.906 kB / 0.7721 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.8273, allocations: 0.5666 MB / 0.7726 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.8285, allocations: 255.5 kB / 0.7729 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.83, allocations: 1.178 MB / 0.774 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.8319, allocations: 223.3 kB / 0.7742 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.832, allocations: 59.09 kB / 0.7743 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002151/0.8342, allocations: 0.8289 MB / 0.7751 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001782/0.836, allocations: 0.7882 MB / 0.7759 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003245/0.8392, allocations: 1.215 MB / 0.7771 GB, free: 142 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/0.8392, allocations: 4 kB / 0.7771 GB, free: 142 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.004335/0.8436, allocations: 1.652 MB / 0.7787 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.8436, allocations: 9.094 kB / 0.7787 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8436, allocations: 4 kB / 0.7787 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.8452, allocations: 0.5621 MB / 0.7792 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.8463, allocations: 243.6 kB / 0.7795 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.8478, allocations: 1.174 MB / 0.7806 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.8496, allocations: 195.2 kB / 0.7808 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.8497, allocations: 61.53 kB / 0.7809 GB, free: 138.1 MB / 0.5762 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.0003182/0.8501, allocations: 255.1 kB / 0.7811 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.8503, allocations: 146.2 kB / 0.7812 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.8617, allocations: 2.119 MB / 0.7833 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.8617, allocations: 12 kB / 0.7833 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8617, allocations: 3.938 kB / 0.7833 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01072/0.8725, allocations: 1.952 MB / 0.7852 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/0.8793, allocations: 3.632 MB / 0.7888 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.8793, allocations: 0 / 0.7888 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.8803, allocations: 186.2 kB / 0.789 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.8819, allocations: 0.5497 MB / 0.7895 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.882, allocations: 35.95 kB / 0.7895 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.8835, allocations: 1.161 MB / 0.7907 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8835, allocations: 7.938 kB / 0.7907 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.8877, allocations: 1.592 MB / 0.7922 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.8883, allocations: 379 kB / 0.7926 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.8885, allocations: 16 kB / 0.7926 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.8901, allocations: 155.7 kB / 0.7927 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.8902, allocations: 64.45 kB / 0.7928 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.8903, allocations: 55.92 kB / 0.7929 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008894/0.8912, allocations: 0.8711 MB / 0.7937 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8912, allocations: 0 / 0.7937 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001973/0.8932, allocations: 0.9562 MB / 0.7946 GB, free: 123.7 MB / 0.5762 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.8954, allocations: 0.8748 MB / 0.7955 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006145/0.9016, allocations: 2.073 MB / 0.7975 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9016, allocations: 7.781 kB / 0.7975 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.9035, allocations: 0.6243 MB / 0.7981 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.9063, allocations: 0.7677 MB / 0.7989 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.911, allocations: 3.368 MB / 0.8022 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.9115, allocations: 1.255 MB / 0.8034 GB, free: 115 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.9119, allocations: 167.3 kB / 0.8036 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.9e-07/0.9119, allocations: 0 / 0.8036 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03259/0.9445, allocations: 37.15 MB / 0.8398 GB, free: 77.8 MB / 0.5762 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)