Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_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.001095/0.001095, allocations: 90.52 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.00808/0.00808, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.2 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/package.mo): time 0.7551/0.7551, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004589, allocations: 12.61 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3745, allocations: 81.58 MB / 0.5837 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1167/0.4913, allocations: 127.9 MB / 0.7087 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03107/0.5224, allocations: 24.87 MB / 0.733 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.5258, allocations: 119.2 kB / 0.7331 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.529, allocations: 1.418 MB / 0.7345 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009406/0.5384, allocations: 4.144 MB / 0.7385 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006921/0.5454, allocations: 3.196 MB / 0.7416 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.5564, allocations: 11.36 MB / 0.7527 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.5596, allocations: 2.526 MB / 0.7552 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.5641, allocations: 2.757 MB / 0.7579 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.5666, allocations: 2.298 MB / 0.7601 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.5669, allocations: 132 kB / 0.7602 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.5717, allocations: 2.464 MB / 0.7627 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.5723, allocations: 0.6221 MB / 0.7633 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.574, allocations: 1.712 MB / 0.7649 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006141/0.5801, allocations: 6.032 MB / 0.7708 GB, free: 208 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5801, allocations: 7.922 kB / 0.7708 GB, free: 200 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5802, allocations: 4 kB / 0.7708 GB, free: 196 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.927e-05/0.5802, allocations: 4 kB / 0.7708 GB, free: 192 kB / 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.005586/0.5858, allocations: 3.359 MB / 0.7741 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5858, allocations: 12.03 kB / 0.7741 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003946/0.5862, allocations: 328.6 kB / 0.7744 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.5977, allocations: 1.451 MB / 0.7759 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004152/0.6018, allocations: 2.937 MB / 0.7787 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.6021, allocations: 255.9 kB / 0.779 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.6024, allocations: 232 kB / 0.7792 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007296/0.6097, allocations: 3.249 MB / 0.7824 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.6098, allocations: 7.875 kB / 0.7824 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.6101, allocations: 104 kB / 0.7825 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/0.6101, allocations: 75.92 kB / 0.7825 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009333/0.6195, allocations: 2.897 MB / 0.7854 GB, free: 0.8828 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.01716/0.6367, allocations: 13.65 MB / 0.7987 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/0.6411, allocations: 1.507 MB / 0.8002 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/0.6444, allocations: 0.9354 MB / 0.8011 GB, free: 140 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.6461, allocations: 1.789 MB / 0.8028 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003779/0.6499, allocations: 1.216 MB / 0.804 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.777e-06/0.6499, allocations: 0 / 0.804 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=132): time 0.0572/0.7071, allocations: 11.93 MB / 0.8157 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2381/0.9453, allocations: 0.5743 MB / 0.8162 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/0.9498, allocations: 2.61 MB / 0.8188 GB, free: 210 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.9502, allocations: 66.91 kB / 0.8189 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009841/0.9512, allocations: 1.32 MB / 0.8201 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.9516, allocations: 464.9 kB / 0.8206 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.9519, allocations: 149.1 kB / 0.8207 GB, free: 209 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.9519, allocations: 305 kB / 0.821 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/0.956, allocations: 1.009 MB / 0.822 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/0.9604, allocations: 1.61 MB / 0.8236 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007761/0.9682, allocations: 2.307 MB / 0.8258 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.9683, allocations: 3.781 kB / 0.8258 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02531/0.9936, allocations: 4.282 MB / 0.83 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002368/0.9938, allocations: 491.1 kB / 0.8305 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.9939, allocations: 13.31 kB / 0.8305 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/0.9978, allocations: 1.167 MB / 0.8316 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/1.001, allocations: 467.6 kB / 0.8321 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/1.004, allocations: 2.399 MB / 0.8344 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005172/1.009, allocations: 411.5 kB / 0.8348 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/1.01, allocations: 106.8 kB / 0.8349 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.01, allocations: 5.281 kB / 0.8349 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02391/1.034, allocations: 3.96 MB / 0.8388 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/1.034, allocations: 18.28 kB / 0.8388 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00377/1.038, allocations: 1.175 MB / 0.84 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/1.04, allocations: 472.2 kB / 0.8404 GB, free: 201 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/1.043, allocations: 2.377 MB / 0.8427 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/1.048, allocations: 380.9 kB / 0.8431 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/1.048, allocations: 105.4 kB / 0.8432 GB, free: 199.1 MB / 0.6387 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.001197/1.049, allocations: 0.6936 MB / 0.8439 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/1.049, allocations: 278.8 kB / 0.8441 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007729/1.057, allocations: 2.474 MB / 0.8465 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.057, allocations: 15.84 kB / 0.8466 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.057, allocations: 5.391 kB / 0.8466 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006737/1.064, allocations: 2.065 MB / 0.8486 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.083, allocations: 7.095 MB / 0.8555 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.083, allocations: 6.812 kB / 0.8555 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.085, allocations: 281 kB / 0.8558 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/1.088, allocations: 1.044 MB / 0.8568 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/1.088, allocations: 47.95 kB / 0.8569 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/1.091, allocations: 2.152 MB / 0.859 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.091, allocations: 16 kB / 0.859 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.104, allocations: 3.845 MB / 0.8627 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.105, allocations: 0.6613 MB / 0.8634 GB, free: 183.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/1.106, allocations: 36 kB / 0.8634 GB, free: 183.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/1.109, allocations: 303.2 kB / 0.8637 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.109, allocations: 120.6 kB / 0.8638 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.109, allocations: 79.91 kB / 0.8639 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002506/1.112, allocations: 1.832 MB / 0.8657 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.112, allocations: 0 / 0.8657 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00354/1.116, allocations: 1.473 MB / 0.8671 GB, free: 179.4 MB / 0.6387 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.01358/1.129, allocations: 5.013 MB / 0.872 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.141, allocations: 3.816 MB / 0.8757 GB, free: 170.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.141, allocations: 4.438 kB / 0.8757 GB, free: 170.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003554/1.144, allocations: 1.116 MB / 0.8768 GB, free: 169.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009639/1.154, allocations: 1.567 MB / 0.8784 GB, free: 168 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07985/1.234, allocations: 29.22 MB / 0.9069 GB, free: 136.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/1.235, allocations: 1.721 MB / 0.9086 GB, free: 134.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003198/1.238, allocations: 0.6566 MB / 0.9092 GB, free: 134.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.239, allocations: 1.179 MB / 0.9104 GB, free: 133 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.239, allocations: 0 / 0.9104 GB, free: 133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.416/3.655, allocations: 99.77 MB / 1.008 GB, free: 34.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/3.655, allocations: 284.6 kB / 1.008 GB, free: 33.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.272/8.928, allocations: 0 / 1.008 GB, free: 33.84 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)