Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.001949/0.001949, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002652/0.002651, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.152/2.152, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.747/1.747, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008017/0.0008019, allocations: 9.312 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3211, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.961/1.282, allocations: 109.3 MB / 0.694 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.07053/1.353, allocations: 21.38 MB / 0.7149 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/1.364, allocations: 117.3 kB / 0.715 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/1.376, allocations: 1.449 MB / 0.7164 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.03372/1.41, allocations: 4.183 MB / 0.7205 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02396/1.434, allocations: 3.129 MB / 0.7236 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02708/1.461, allocations: 5.126 MB / 0.7286 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/1.473, allocations: 2.299 MB / 0.7308 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01516/1.488, allocations: 2.446 MB / 0.7332 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008284/1.496, allocations: 1.585 MB / 0.7348 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002719/1.499, allocations: 132.7 kB / 0.7349 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/1.514, allocations: 1.747 MB / 0.7366 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003378/1.518, allocations: 0.5754 MB / 0.7372 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004661/1.523, allocations: 0.7346 MB / 0.7379 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01666/1.539, allocations: 4.565 MB / 0.7423 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.539, allocations: 0 / 0.7423 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.745e-06/1.539, allocations: 0 / 0.7423 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002893/1.54, allocations: 0 / 0.7423 GB, free: 13.51 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01569/1.556, allocations: 3.374 MB / 0.7456 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.792e-05/1.556, allocations: 12.03 kB / 0.7457 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001833/1.557, allocations: 332.8 kB / 0.746 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01674/1.574, allocations: 1.366 MB / 0.7473 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/1.587, allocations: 2.721 MB / 0.75 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008192/1.588, allocations: 252 kB / 0.7502 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/1.59, allocations: 236 kB / 0.7504 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/1.607, allocations: 3.172 MB / 0.7535 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.792e-05/1.607, allocations: 3.938 kB / 0.7535 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006558/1.608, allocations: 104 kB / 0.7536 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/1.608, allocations: 72 kB / 0.7537 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/1.625, allocations: 2.811 MB / 0.7564 GB, free: 14.67 MB / 0.5763 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.04421/1.669, allocations: 13.69 MB / 0.7698 GB, free: 340 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007251/1.676, allocations: 1.434 MB / 0.7712 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003828/1.68, allocations: 1.777 MB / 0.7729 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007007/1.687, allocations: 1.158 MB / 0.7741 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 1.042e-05/1.688, allocations: 0 / 0.7741 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.05686/1.744, allocations: 9.719 MB / 0.7836 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006153/1.745, allocations: 0.5882 MB / 0.7841 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008743/1.754, allocations: 2.687 MB / 0.7868 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000783/1.755, allocations: 61.7 kB / 0.7868 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.757, allocations: 1.346 MB / 0.7881 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.759, allocations: 461.5 kB / 0.7886 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/1.759, allocations: 36 kB / 0.7886 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003002/1.759, allocations: 373.9 kB / 0.789 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006164/1.766, allocations: 0.9407 MB / 0.7899 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007297/1.773, allocations: 1.538 MB / 0.7914 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006692/1.78, allocations: 1.089 MB / 0.7925 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.531e-05/1.78, allocations: 7.938 kB / 0.7925 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01615/1.796, allocations: 3.089 MB / 0.7955 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.004393/1.801, allocations: 5.243 MB / 0.8006 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.1e-05/1.801, allocations: 12 kB / 0.8006 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/1.806, allocations: 0.93 MB / 0.8015 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.809, allocations: 483.2 kB / 0.802 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005404/1.815, allocations: 2.191 MB / 0.8041 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/1.823, allocations: 401 kB / 0.8045 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.824, allocations: 107.9 kB / 0.8046 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/1.824, allocations: 4 kB / 0.8046 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01326/1.838, allocations: 2.81 MB / 0.8074 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/1.838, allocations: 16.22 kB / 0.8074 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/1.842, allocations: 0.9232 MB / 0.8083 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/1.845, allocations: 479.2 kB / 0.8087 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/1.849, allocations: 2.188 MB / 0.8109 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005491/1.855, allocations: 363.4 kB / 0.8112 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/1.855, allocations: 103.9 kB / 0.8113 GB, free: 4.246 MB / 0.6231 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002255/1.858, allocations: 0.6938 MB / 0.812 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.859, allocations: 284.6 kB / 0.8123 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.871, allocations: 2.379 MB / 0.8146 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-05/1.871, allocations: 12 kB / 0.8146 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/1.871, allocations: 7.953 kB / 0.8146 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01074/1.882, allocations: 1.982 MB / 0.8165 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02725/1.909, allocations: 6.245 MB / 0.8226 GB, free: 8.391 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-05/1.909, allocations: 11.95 kB / 0.8226 GB, free: 8.379 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.912, allocations: 283.9 kB / 0.8229 GB, free: 8.102 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005028/1.917, allocations: 0.7944 MB / 0.8237 GB, free: 7.305 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005721/1.918, allocations: 55.94 kB / 0.8237 GB, free: 7.25 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/1.923, allocations: 1.962 MB / 0.8257 GB, free: 5.238 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-05/1.923, allocations: 11.94 kB / 0.8257 GB, free: 5.227 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02282/1.946, allocations: 4.34 MB / 0.8299 GB, free: 480 kB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005966/1.952, allocations: 0.6692 MB / 0.8306 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/1.954, allocations: 52.05 kB / 0.8306 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006359/1.96, allocations: 278.3 kB / 0.8309 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/1.961, allocations: 116.7 kB / 0.831 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004546/1.962, allocations: 75.91 kB / 0.8311 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006386/1.968, allocations: 1.895 MB / 0.8329 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.267e-05/1.968, allocations: 0 / 0.8329 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01022/1.978, allocations: 1.507 MB / 0.8344 GB, free: 11.86 MB / 0.6544 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 (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0214/2, allocations: 7.251 MB / 0.8415 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02141/2.021, allocations: 3.655 MB / 0.845 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.653e-05/2.021, allocations: 8.5 kB / 0.845 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007175/2.029, allocations: 1.058 MB / 0.8461 GB, free: 15.65 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/2.044, allocations: 1.484 MB / 0.8475 GB, free: 14.19 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6068/2.651, allocations: 16.13 MB / 0.8633 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/2.654, allocations: 1.773 MB / 0.865 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007353/2.661, allocations: 0.6639 MB / 0.8657 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003902/2.665, allocations: 1.175 MB / 0.8668 GB, free: 206.9 MB / 0.67 GB Notification: Performance of SimCode: time 2.564e-06/2.665, allocations: 0 / 0.8668 GB, free: 206.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6065/3.272, allocations: 94.02 MB / 0.9586 GB, free: 159.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/3.272, allocations: 261.5 kB / 0.9589 GB, free: 159 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/11.48, allocations: 4 kB / 0.9589 GB, free: 159 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: