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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008247, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005741/0.005741, allocations: 169.6 kB / 16.27 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9267/0.9267, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 12.62 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 82.32 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.3111/0.443, allocations: 123.3 MB / 0.7085 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.4625, allocations: 15.37 MB / 0.7235 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.4647, allocations: 70.09 kB / 0.7236 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.4669, allocations: 0.7858 MB / 0.7243 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.4729, allocations: 2.392 MB / 0.7267 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004523/0.4775, allocations: 1.912 MB / 0.7286 GB, free: 5.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006303/0.4838, allocations: 6.004 MB / 0.7344 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.4858, allocations: 1.369 MB / 0.7358 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.4885, allocations: 1.49 MB / 0.7372 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.4905, allocations: 1.25 MB / 0.7384 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.4908, allocations: 74.22 kB / 0.7385 GB, free: 500 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.4942, allocations: 1.79 MB / 0.7402 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.4946, allocations: 371.8 kB / 0.7406 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4956, allocations: 0.9536 MB / 0.7415 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.4999, allocations: 3.526 MB / 0.745 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4999, allocations: 4 kB / 0.745 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5, allocations: 4 kB / 0.745 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.434e-05/0.5, allocations: 0 / 0.745 GB, free: 11.52 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.004236/0.5042, allocations: 2.06 MB / 0.747 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5043, allocations: 12.03 kB / 0.747 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000289/0.5046, allocations: 194 kB / 0.7472 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/0.51, allocations: 0.7474 MB / 0.7479 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.5126, allocations: 1.666 MB / 0.7495 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5128, allocations: 132.1 kB / 0.7497 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.5129, allocations: 124 kB / 0.7498 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/0.5167, allocations: 1.747 MB / 0.7515 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.5167, allocations: 7.938 kB / 0.7515 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.5168, allocations: 52 kB / 0.7516 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.5169, allocations: 39.94 kB / 0.7516 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.5214, allocations: 1.539 MB / 0.7531 GB, free: 2.957 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.008877/0.5303, allocations: 7.556 MB / 0.7605 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.5342, allocations: 1.189 MB / 0.7616 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.5361, allocations: 0.5961 MB / 0.7622 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.5374, allocations: 1.282 MB / 0.7635 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.5395, allocations: 0.7069 MB / 0.7642 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.525e-06/0.5395, allocations: 0 / 0.7642 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01738/0.5569, allocations: 3.257 MB / 0.7673 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.557, allocations: 145.2 kB / 0.7675 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.5586, allocations: 1.271 MB / 0.7687 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.5587, allocations: 49.69 kB / 0.7688 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.5593, allocations: 0.7231 MB / 0.7695 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.5595, allocations: 276.1 kB / 0.7697 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5596, allocations: 77.67 kB / 0.7698 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5598, allocations: 341.9 kB / 0.7701 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.5617, allocations: 0.5406 MB / 0.7707 GB, free: 176 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.5637, allocations: 0.8177 MB / 0.7715 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/0.5675, allocations: 1.256 MB / 0.7727 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5675, allocations: 4 kB / 0.7727 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004857/0.5724, allocations: 1.684 MB / 0.7743 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.5726, allocations: 279.7 kB / 0.7746 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5726, allocations: 11.88 kB / 0.7746 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.5745, allocations: 0.5763 MB / 0.7752 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.5758, allocations: 255.6 kB / 0.7754 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.5777, allocations: 1.17 MB / 0.7766 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.5795, allocations: 238.8 kB / 0.7768 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5796, allocations: 51.95 kB / 0.7768 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.5796, allocations: 4 kB / 0.7768 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004551/0.5842, allocations: 1.519 MB / 0.7783 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5842, allocations: 8 kB / 0.7783 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.5859, allocations: 0.5595 MB / 0.7789 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.5872, allocations: 251.6 kB / 0.7791 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.5891, allocations: 1.185 MB / 0.7803 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.5908, allocations: 215 kB / 0.7805 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.591, allocations: 59.94 kB / 0.7805 GB, free: 5.715 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.0007489/0.5917, allocations: 480.8 kB / 0.781 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.5919, allocations: 154.2 kB / 0.7812 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.6045, allocations: 2.168 MB / 0.7833 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.6045, allocations: 11.98 kB / 0.7833 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6045, allocations: 0 / 0.7833 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01191/0.6164, allocations: 1.997 MB / 0.7852 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007548/0.624, allocations: 3.676 MB / 0.7888 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.624, allocations: 12.12 kB / 0.7888 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.6251, allocations: 171.7 kB / 0.789 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.6269, allocations: 0.5595 MB / 0.7895 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.627, allocations: 31.94 kB / 0.7896 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.6288, allocations: 1.158 MB / 0.7907 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6288, allocations: 3.938 kB / 0.7907 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.6335, allocations: 1.624 MB / 0.7923 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.6342, allocations: 414.9 kB / 0.7927 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.6343, allocations: 12 kB / 0.7927 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.636, allocations: 165.5 kB / 0.7929 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6361, allocations: 56.55 kB / 0.7929 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.6362, allocations: 59.92 kB / 0.793 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001096/0.6373, allocations: 0.8634 MB / 0.7938 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6373, allocations: 0 / 0.7938 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002201/0.6395, allocations: 0.9587 MB / 0.7947 GB, free: 6.852 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.006554/0.6461, allocations: 2.943 MB / 0.7976 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006447/0.6525, allocations: 2.053 MB / 0.7996 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6526, allocations: 7.906 kB / 0.7996 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.6546, allocations: 0.6399 MB / 0.8003 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.6584, allocations: 0.7553 MB / 0.801 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/0.6858, allocations: 13.35 MB / 0.814 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.6866, allocations: 1.259 MB / 0.8153 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001752/0.6884, allocations: 379.9 kB / 0.8156 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008309/0.6893, allocations: 0.6203 MB / 0.8162 GB, free: 416 kB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.6893, allocations: 0 / 0.8162 GB, free: 416 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.111/2.8, allocations: 50.33 MB / 0.8654 GB, free: 210.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/2.8, allocations: 281.9 kB / 0.8656 GB, free: 210.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.951/6.752, allocations: 1.969 kB / 0.8656 GB, free: 210.3 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)