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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="IDEAS_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.0008996/0.0008996, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.000988/0.000988, allocations: 176.8 kB / 16.27 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 8 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3292, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.09908/0.4283, allocations: 123.3 MB / 0.7042 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01807/0.4465, allocations: 15.37 MB / 0.7192 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.4481, allocations: 63.56 kB / 0.7193 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.4499, allocations: 0.7887 MB / 0.72 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.4548, allocations: 2.401 MB / 0.7224 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.4587, allocations: 1.904 MB / 0.7242 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005225/0.464, allocations: 6.015 MB / 0.7301 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.4656, allocations: 1.372 MB / 0.7314 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.4677, allocations: 1.489 MB / 0.7329 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.469, allocations: 1.256 MB / 0.7341 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.4691, allocations: 72 kB / 0.7342 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.4721, allocations: 1.794 MB / 0.7359 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.4725, allocations: 362.3 kB / 0.7363 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007953/0.4733, allocations: 0.9461 MB / 0.7372 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.4765, allocations: 3.528 MB / 0.7407 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4765, allocations: 0 / 0.7407 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4765, allocations: 0 / 0.7407 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.4765, allocations: 0 / 0.7407 GB, free: 15.27 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.003082/0.4796, allocations: 2.058 MB / 0.7427 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4797, allocations: 12.03 kB / 0.7427 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.4799, allocations: 194 kB / 0.7429 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.485, allocations: 0.7549 MB / 0.7436 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.4871, allocations: 1.665 MB / 0.7452 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4872, allocations: 140.1 kB / 0.7454 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.4874, allocations: 128 kB / 0.7455 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.4909, allocations: 1.748 MB / 0.7472 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4909, allocations: 7.938 kB / 0.7472 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.4911, allocations: 59.94 kB / 0.7473 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.4911, allocations: 36 kB / 0.7473 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004311/0.4954, allocations: 1.535 MB / 0.7488 GB, free: 6.691 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.008089/0.5035, allocations: 7.557 MB / 0.7562 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.5073, allocations: 1.186 MB / 0.7573 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.5092, allocations: 0.6038 MB / 0.7579 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.5102, allocations: 1.275 MB / 0.7592 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.5123, allocations: 0.7108 MB / 0.7599 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.344e-06/0.5123, allocations: 4 kB / 0.7599 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01681/0.5291, allocations: 3.257 MB / 0.763 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.5292, allocations: 145.1 kB / 0.7632 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5306, allocations: 1.274 MB / 0.7644 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.5307, allocations: 53.69 kB / 0.7645 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.5312, allocations: 0.7153 MB / 0.7652 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.5314, allocations: 280 kB / 0.7654 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5315, allocations: 77.67 kB / 0.7655 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.5317, allocations: 341.9 kB / 0.7658 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.5335, allocations: 0.5328 MB / 0.7664 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.5355, allocations: 0.8139 MB / 0.7672 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.5392, allocations: 1.26 MB / 0.7684 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.5392, allocations: 7.938 kB / 0.7684 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004658/0.5439, allocations: 1.687 MB / 0.77 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.544, allocations: 277.4 kB / 0.7703 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5441, allocations: 8 kB / 0.7703 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.5459, allocations: 0.5644 MB / 0.7709 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.5472, allocations: 255.6 kB / 0.7711 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.5489, allocations: 1.171 MB / 0.7723 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.5506, allocations: 238.8 kB / 0.7725 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/0.5507, allocations: 67.92 kB / 0.7725 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.5507, allocations: 4 kB / 0.7725 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00433/0.555, allocations: 1.512 MB / 0.774 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5551, allocations: 11.94 kB / 0.774 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.5567, allocations: 0.559 MB / 0.7746 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5579, allocations: 251.6 kB / 0.7748 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.5596, allocations: 1.177 MB / 0.776 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5613, allocations: 226.9 kB / 0.7762 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.5614, allocations: 55.95 kB / 0.7762 GB, free: 9.43 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.0006212/0.562, allocations: 482.3 kB / 0.7767 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.5622, allocations: 154.2 kB / 0.7768 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.5744, allocations: 2.153 MB / 0.779 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5744, allocations: 15.98 kB / 0.779 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5744, allocations: 3.938 kB / 0.779 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01168/0.5861, allocations: 1.997 MB / 0.7809 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007072/0.5932, allocations: 3.68 MB / 0.7845 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5932, allocations: 4 kB / 0.7845 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.5942, allocations: 179.9 kB / 0.7847 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.5959, allocations: 0.561 MB / 0.7852 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.596, allocations: 31.89 kB / 0.7853 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.5977, allocations: 1.162 MB / 0.7864 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5978, allocations: 3.938 kB / 0.7864 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/0.6021, allocations: 1.616 MB / 0.788 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.6027, allocations: 410.9 kB / 0.7884 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.6029, allocations: 20 kB / 0.7884 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.6045, allocations: 167.7 kB / 0.7886 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6046, allocations: 60.45 kB / 0.7886 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.6047, allocations: 55.92 kB / 0.7887 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001003/0.6057, allocations: 0.8673 MB / 0.7895 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6057, allocations: 0 / 0.7895 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002049/0.6077, allocations: 0.9627 MB / 0.7905 GB, free: 10.55 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.006278/0.614, allocations: 2.922 MB / 0.7933 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006205/0.6202, allocations: 2.061 MB / 0.7953 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.6203, allocations: 7.938 kB / 0.7953 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.6223, allocations: 0.6438 MB / 0.796 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/0.6258, allocations: 0.7469 MB / 0.7967 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/0.6515, allocations: 13.35 MB / 0.8097 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.6523, allocations: 1.259 MB / 0.811 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001558/0.6539, allocations: 373.2 kB / 0.8113 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/0.6546, allocations: 0.628 MB / 0.8119 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.6546, allocations: 0 / 0.8119 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.568/4.223, allocations: 50.31 MB / 0.8611 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/4.223, allocations: 282.1 kB / 0.8613 GB, free: 187.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.929/9.152, allocations: 0 / 0.8613 GB, free: 187.3 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)