Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 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.001132/0.001132, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7484/0.7484, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.75 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4631, allocations: 80.2 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.125/0.5882, allocations: 126.1 MB / 0.7032 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.6116, allocations: 15.4 MB / 0.7183 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003942/0.6156, allocations: 75.56 kB / 0.7184 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.6186, allocations: 0.9587 MB / 0.7193 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009081/0.6277, allocations: 2.615 MB / 0.7218 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005555/0.6333, allocations: 2.102 MB / 0.7239 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006029/0.6393, allocations: 4.787 MB / 0.7286 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.642, allocations: 1.708 MB / 0.7302 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.6462, allocations: 1.826 MB / 0.732 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.6486, allocations: 1.33 MB / 0.7333 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006427/0.6493, allocations: 208 kB / 0.7335 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.6541, allocations: 1.989 MB / 0.7355 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007731/0.6548, allocations: 0.4944 MB / 0.7359 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.6568, allocations: 1.081 MB / 0.737 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006523/0.6633, allocations: 3.681 MB / 0.7406 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6634, allocations: 0 / 0.7406 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6634, allocations: 0 / 0.7406 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001182/0.6635, allocations: 0 / 0.7406 GB, free: 12.68 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.005909/0.6694, allocations: 2.455 MB / 0.743 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6695, allocations: 12.03 kB / 0.743 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.6752, allocations: 0.716 MB / 0.7437 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.6784, allocations: 1.627 MB / 0.7453 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.6786, allocations: 128.2 kB / 0.7454 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.6789, allocations: 132 kB / 0.7455 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.683, allocations: 1.728 MB / 0.7472 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.6831, allocations: 3.938 kB / 0.7472 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.6832, allocations: 59.98 kB / 0.7473 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.6833, allocations: 43.92 kB / 0.7473 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/0.6882, allocations: 1.496 MB / 0.7488 GB, free: 4.039 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.01146/0.6997, allocations: 7.6 MB / 0.7562 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.7038, allocations: 1.16 MB / 0.7573 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.7058, allocations: 0.5921 MB / 0.7579 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.7071, allocations: 1.275 MB / 0.7592 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002236/0.7094, allocations: 0.6951 MB / 0.7598 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.507e-06/0.7094, allocations: 3.938 kB / 0.7599 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01777/0.7272, allocations: 3.167 MB / 0.7629 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.7273, allocations: 141.2 kB / 0.7631 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.7297, allocations: 1.293 MB / 0.7643 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.73, allocations: 45.7 kB / 0.7644 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007646/0.7307, allocations: 0.7232 MB / 0.7651 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.7311, allocations: 284 kB / 0.7654 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.7315, allocations: 214.5 kB / 0.7656 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7317, allocations: 345.9 kB / 0.7659 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.7336, allocations: 0.5239 MB / 0.7664 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.7358, allocations: 0.8021 MB / 0.7672 GB, free: 284 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/0.7397, allocations: 1.233 MB / 0.7684 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.7398, allocations: 0 / 0.7684 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005232/0.745, allocations: 1.664 MB / 0.77 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.745, allocations: 8 kB / 0.77 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.7451, allocations: 4 kB / 0.77 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.7471, allocations: 0.5679 MB / 0.7706 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7484, allocations: 247.6 kB / 0.7708 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.7505, allocations: 1.175 MB / 0.772 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.7524, allocations: 178.9 kB / 0.7721 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.7526, allocations: 59.94 kB / 0.7722 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002484/0.7551, allocations: 0.8298 MB / 0.773 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002097/0.7572, allocations: 0.7905 MB / 0.7738 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003892/0.7611, allocations: 1.213 MB / 0.775 GB, free: 8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.456e-06/0.7611, allocations: 0 / 0.775 GB, free: 8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005512/0.7666, allocations: 1.645 MB / 0.7766 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7667, allocations: 11.94 kB / 0.7766 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.7667, allocations: 4 kB / 0.7766 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.7686, allocations: 0.5642 MB / 0.7771 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.7699, allocations: 243.6 kB / 0.7774 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.7722, allocations: 1.173 MB / 0.7785 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.7743, allocations: 159.3 kB / 0.7787 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.7745, allocations: 59.94 kB / 0.7787 GB, free: 4.109 MB / 0.6075 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.0004664/0.775, allocations: 249.4 kB / 0.779 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.7756, allocations: 150.2 kB / 0.7791 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.7885, allocations: 2.117 MB / 0.7812 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.7885, allocations: 8 kB / 0.7812 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.7886, allocations: 0 / 0.7812 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01231/0.8009, allocations: 1.958 MB / 0.7831 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.8107, allocations: 3.644 MB / 0.7867 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.8107, allocations: 7.984 kB / 0.7867 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8118, allocations: 175.9 kB / 0.7868 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.8137, allocations: 0.5571 MB / 0.7874 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.8139, allocations: 39.94 kB / 0.7874 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.8158, allocations: 1.151 MB / 0.7885 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.8159, allocations: 7.938 kB / 0.7885 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/0.821, allocations: 1.585 MB / 0.7901 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/0.8218, allocations: 386.9 kB / 0.7905 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.8221, allocations: 20 kB / 0.7905 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.8239, allocations: 115.8 kB / 0.7906 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.824, allocations: 60.45 kB / 0.7906 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.8241, allocations: 51.92 kB / 0.7907 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001476/0.8256, allocations: 0.879 MB / 0.7916 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8256, allocations: 0 / 0.7916 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003073/0.8287, allocations: 0.9782 MB / 0.7925 GB, free: 5.68 MB / 0.6231 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.002343/0.8311, allocations: 0.878 MB / 0.7934 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007316/0.8384, allocations: 2.077 MB / 0.7954 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8384, allocations: 4.062 kB / 0.7954 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.8406, allocations: 0.6317 MB / 0.796 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.8444, allocations: 0.7649 MB / 0.7968 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.8506, allocations: 2.729 MB / 0.7994 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.8516, allocations: 1.255 MB / 0.8007 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001843/0.8535, allocations: 366.8 kB / 0.801 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.8539, allocations: 151.3 kB / 0.8011 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of SimCode: time 7.42e-07/0.8539, allocations: 0 / 0.8011 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.3056/1.159, allocations: 40.02 MB / 0.8402 GB, free: 202.5 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)