Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.0009525/0.0009525, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005326/0.005326, allocations: 172.1 kB / 16.26 MB, free: 6.676 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8804/0.8804, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8.844 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.3188/0.4525, allocations: 127.9 MB / 0.713 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03174/0.4843, allocations: 24.87 MB / 0.7373 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004102/0.4884, allocations: 127 kB / 0.7374 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.4922, allocations: 1.412 MB / 0.7388 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.5025, allocations: 4.149 MB / 0.7428 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00737/0.5099, allocations: 3.189 MB / 0.7459 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.5214, allocations: 11.36 MB / 0.757 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/0.5252, allocations: 2.53 MB / 0.7595 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00522/0.5304, allocations: 2.753 MB / 0.7622 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.5341, allocations: 2.306 MB / 0.7644 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005728/0.5347, allocations: 128 kB / 0.7646 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/0.5404, allocations: 2.476 MB / 0.767 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008433/0.5412, allocations: 0.6182 MB / 0.7676 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.5436, allocations: 1.704 MB / 0.7692 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007604/0.5512, allocations: 6.038 MB / 0.7751 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5512, allocations: 0 / 0.7751 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5513, allocations: 4 kB / 0.7751 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001239/0.5514, allocations: 0 / 0.7751 GB, free: 12.42 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006545/0.5579, allocations: 3.363 MB / 0.7784 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.558, allocations: 8.031 kB / 0.7784 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005869/0.5586, allocations: 328.6 kB / 0.7788 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5695, allocations: 1.459 MB / 0.7802 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.5737, allocations: 2.941 MB / 0.7831 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.574, allocations: 251.9 kB / 0.7833 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.5743, allocations: 236 kB / 0.7835 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/0.5815, allocations: 3.241 MB / 0.7867 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.5815, allocations: 15.88 kB / 0.7867 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.5818, allocations: 99.94 kB / 0.7868 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/0.5819, allocations: 68 kB / 0.7869 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008901/0.5908, allocations: 2.901 MB / 0.7897 GB, free: 13.11 MB / 0.6075 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.0177/0.6085, allocations: 13.66 MB / 0.803 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/0.6129, allocations: 1.506 MB / 0.8045 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.6161, allocations: 0.938 MB / 0.8054 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.6179, allocations: 1.789 MB / 0.8072 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003715/0.6216, allocations: 1.219 MB / 0.8084 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 3.105e-06/0.6217, allocations: 0 / 0.8084 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=132): time 0.05509/0.6768, allocations: 11.93 MB / 0.82 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.677, allocations: 0.5805 MB / 0.8206 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.6807, allocations: 2.612 MB / 0.8231 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.6809, allocations: 61.7 kB / 0.8232 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.682, allocations: 1.325 MB / 0.8245 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.6824, allocations: 461.5 kB / 0.8249 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.6826, allocations: 145.6 kB / 0.8251 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.6827, allocations: 305.1 kB / 0.8253 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/0.6866, allocations: 1.011 MB / 0.8263 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/0.6909, allocations: 1.604 MB / 0.8279 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/0.6981, allocations: 2.322 MB / 0.8302 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6981, allocations: 0 / 0.8302 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02382/0.7219, allocations: 4.259 MB / 0.8343 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.7223, allocations: 498.5 kB / 0.8348 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7223, allocations: 15.98 kB / 0.8348 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.7262, allocations: 1.157 MB / 0.8359 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.7287, allocations: 479.2 kB / 0.8364 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/0.7327, allocations: 2.394 MB / 0.8387 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004599/0.7374, allocations: 419.1 kB / 0.8391 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.7376, allocations: 104.2 kB / 0.8392 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.7376, allocations: 4 kB / 0.8392 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02386/0.7615, allocations: 3.98 MB / 0.8431 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.7615, allocations: 12 kB / 0.8431 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003782/0.7653, allocations: 1.168 MB / 0.8443 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.7678, allocations: 467.2 kB / 0.8447 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.7718, allocations: 2.387 MB / 0.8471 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.776, allocations: 367.4 kB / 0.8474 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.7763, allocations: 107.9 kB / 0.8475 GB, free: 15.72 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.7777, allocations: 0.6975 MB / 0.8482 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006389/0.7783, allocations: 280.6 kB / 0.8485 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/0.7868, allocations: 2.473 MB / 0.8509 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.7868, allocations: 19.98 kB / 0.8509 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7869, allocations: 4 kB / 0.8509 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007185/0.7941, allocations: 2.064 MB / 0.8529 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/0.8154, allocations: 7.105 MB / 0.8599 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.8155, allocations: 4.25 kB / 0.8599 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.8173, allocations: 291.8 kB / 0.8601 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.8208, allocations: 1.015 MB / 0.8611 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.8209, allocations: 51.94 kB / 0.8612 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.247/1.068, allocations: 2.158 MB / 0.8633 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.068, allocations: 12.47 kB / 0.8633 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.082, allocations: 3.84 MB / 0.867 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.083, allocations: 0.655 MB / 0.8677 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/1.083, allocations: 42.31 kB / 0.8677 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/1.087, allocations: 300.1 kB / 0.868 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.087, allocations: 112.1 kB / 0.8681 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.087, allocations: 76.69 kB / 0.8682 GB, free: 208.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002608/1.09, allocations: 1.837 MB / 0.87 GB, free: 208.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/1.09, allocations: 0 / 0.87 GB, free: 208.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003669/1.093, allocations: 1.479 MB / 0.8714 GB, free: 208.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/1.108, allocations: 5.014 MB / 0.8763 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.12, allocations: 3.822 MB / 0.8801 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.12, allocations: 3.75 kB / 0.8801 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003692/1.123, allocations: 1.114 MB / 0.8812 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009822/1.133, allocations: 1.557 MB / 0.8827 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08488/1.218, allocations: 29.23 MB / 0.9112 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.219, allocations: 1.719 MB / 0.9129 GB, free: 188.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003556/1.223, allocations: 0.6514 MB / 0.9135 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.225, allocations: 1.182 MB / 0.9147 GB, free: 187.1 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/1.225, allocations: 0 / 0.9147 GB, free: 187.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.094/3.318, allocations: 99.78 MB / 1.012 GB, free: 104.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/3.319, allocations: 281.8 kB / 1.012 GB, free: 104.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.49/7.809, allocations: 0 / 1.012 GB, free: 104.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)