Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006373/0.006373, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.739/0.739, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 99.61 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4666, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8857/1.352, allocations: 396.7 MB / 1.037 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/1.353, allocations: 103.1 kB / 1.037 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.504/3.857, allocations: 0.5598 GB / 1.597 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.156e-06/3.857, allocations: 0.75 kB / 1.597 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002285/3.857, allocations: 45.38 kB / 1.597 GB, free: 96.29 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006514/3.863, allocations: 2.118 MB / 1.599 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/3.864, allocations: 9.219 kB / 1.599 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004601/3.864, allocations: 182.3 kB / 1.599 GB, free: 95.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/3.869, allocations: 0.6159 MB / 1.6 GB, free: 95.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/3.873, allocations: 1.792 MB / 1.601 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/3.874, allocations: 128.7 kB / 1.602 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/3.874, allocations: 119.8 kB / 1.602 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/3.878, allocations: 1.621 MB / 1.603 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/3.878, allocations: 1.875 kB / 1.603 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/3.878, allocations: 49.41 kB / 1.603 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/3.878, allocations: 55.84 kB / 1.603 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/3.882, allocations: 1.436 MB / 1.605 GB, free: 94.8 MB / 0.6823 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.01062/3.893, allocations: 6.994 MB / 1.612 GB, free: 91.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/3.895, allocations: 0.7295 MB / 1.612 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/3.896, allocations: 1.269 MB / 1.614 GB, free: 90.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/3.896, allocations: 42.41 kB / 1.614 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 3.406e-06/3.896, allocations: 0 / 1.614 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.01134/3.908, allocations: 2.389 MB / 1.616 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/3.908, allocations: 108.9 kB / 1.616 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/3.911, allocations: 1.267 MB / 1.617 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/3.911, allocations: 44.14 kB / 1.617 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000813/3.912, allocations: 0.7091 MB / 1.618 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/3.912, allocations: 217.1 kB / 1.618 GB, free: 89.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/3.912, allocations: 15.84 kB / 1.618 GB, free: 89.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/3.912, allocations: 334.5 kB / 1.619 GB, free: 89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/3.914, allocations: 472.9 kB / 1.619 GB, free: 89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/3.916, allocations: 0.7539 MB / 1.62 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/3.918, allocations: 0.5203 MB / 1.62 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/3.918, allocations: 3.938 kB / 1.62 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004943/3.923, allocations: 1.482 MB / 1.622 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006212/3.924, allocations: 2.492 MB / 1.624 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/3.924, allocations: 9.438 kB / 1.624 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/3.925, allocations: 453.7 kB / 1.625 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/3.927, allocations: 249.1 kB / 1.625 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/3.928, allocations: 1.071 MB / 1.626 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/3.931, allocations: 270.6 kB / 1.626 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/3.931, allocations: 48.72 kB / 1.626 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/3.931, allocations: 7.219 kB / 1.626 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004391/3.936, allocations: 1.324 MB / 1.627 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/3.936, allocations: 4.656 kB / 1.627 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/3.937, allocations: 457.7 kB / 1.628 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/3.939, allocations: 249.7 kB / 1.628 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/3.94, allocations: 1.075 MB / 1.629 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/3.943, allocations: 236.8 kB / 1.629 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/3.943, allocations: 52 kB / 1.629 GB, free: 84.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001137/3.944, allocations: 451.3 kB / 1.63 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006343/3.944, allocations: 144.2 kB / 1.63 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/3.949, allocations: 1.228 MB / 1.631 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/3.949, allocations: 10.23 kB / 1.631 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/3.949, allocations: 0 / 1.631 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003274/3.952, allocations: 1.1 MB / 1.632 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008855/3.961, allocations: 3.299 MB / 1.636 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/3.961, allocations: 3.094 kB / 1.636 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009613/3.962, allocations: 158 kB / 1.636 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/3.963, allocations: 441 kB / 1.636 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/3.963, allocations: 24.45 kB / 1.636 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/3.965, allocations: 1.064 MB / 1.637 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/3.965, allocations: 12.47 kB / 1.637 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/3.969, allocations: 1.562 MB / 1.639 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/3.97, allocations: 384.3 kB / 1.639 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006171/3.971, allocations: 19.75 kB / 1.639 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/3.973, allocations: 140.4 kB / 1.639 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/3.973, allocations: 53.78 kB / 1.639 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/3.973, allocations: 47.47 kB / 1.639 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002211/3.976, allocations: 0.9964 MB / 1.64 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/3.976, allocations: 0 / 1.64 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004479/3.98, allocations: 0.9752 MB / 1.641 GB, free: 81.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007019/3.987, allocations: 3.804 MB / 1.645 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006451/3.994, allocations: 1.745 MB / 1.647 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/3.994, allocations: 3.562 kB / 1.647 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/3.996, allocations: 0.5104 MB / 1.647 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/4, allocations: 0.7788 MB / 1.648 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/4.025, allocations: 13.27 MB / 1.661 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009855/4.026, allocations: 1.235 MB / 1.662 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002243/4.029, allocations: 336.7 kB / 1.662 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/4.03, allocations: 0.5598 MB / 1.663 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/4.03, allocations: 0 / 1.663 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09616/4.126, allocations: 53.92 MB / 1.716 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/4.126, allocations: 260.5 kB / 1.716 GB, free: 68.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/7.896, allocations: 4 kB / 1.716 GB, free: 68.51 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)