Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 181.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 93.11 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004487, allocations: 12.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2697, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.44, allocations: 424 MB / 1.393 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.44, allocations: 97.7 kB / 1.394 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.34/5.781, allocations: 1.046 GB / 2.44 GB, free: 50.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.428e-06/5.781, allocations: 0 / 2.44 GB, free: 50.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005844/5.782, allocations: 75.98 kB / 2.44 GB, free: 50.38 MB / 0.948 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.01347/5.795, allocations: 3.721 MB / 2.443 GB, free: 46.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/5.795, allocations: 8.031 kB / 2.443 GB, free: 46.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001615/5.797, allocations: 320.8 kB / 2.444 GB, free: 46.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/5.807, allocations: 1.217 MB / 2.445 GB, free: 45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/5.817, allocations: 3.315 MB / 2.448 GB, free: 41.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/5.818, allocations: 255.9 kB / 2.448 GB, free: 41.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/5.819, allocations: 236 kB / 2.448 GB, free: 41.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/5.831, allocations: 3.176 MB / 2.452 GB, free: 37.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/5.832, allocations: 3.938 kB / 2.452 GB, free: 37.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008959/5.833, allocations: 104 kB / 2.452 GB, free: 37.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/5.833, allocations: 75.98 kB / 2.452 GB, free: 37.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/5.843, allocations: 2.803 MB / 2.454 GB, free: 34.74 MB / 0.948 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.02376/5.867, allocations: 13.36 MB / 2.468 GB, free: 20.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/5.87, allocations: 1.529 MB / 2.469 GB, free: 19.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/5.872, allocations: 1.777 MB / 2.471 GB, free: 17.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003218/5.875, allocations: 1.204 MB / 2.472 GB, free: 15.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.987e-06/5.875, allocations: 4 kB / 2.472 GB, free: 15.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.04086/5.916, allocations: 13.32 MB / 2.485 GB, free: 2.246 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002759/5.916, allocations: 0.9436 MB / 2.486 GB, free: 1.082 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/5.922, allocations: 2.416 MB / 2.488 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007142/5.923, allocations: 69.69 kB / 2.488 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001856/5.924, allocations: 1.357 MB / 2.49 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/5.925, allocations: 425.9 kB / 2.49 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/5.925, allocations: 32 kB / 2.49 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002187/5.926, allocations: 373.9 kB / 2.49 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/5.93, allocations: 0.9251 MB / 2.491 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/5.934, allocations: 1.567 MB / 2.493 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/5.938, allocations: 1.076 MB / 2.494 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/5.938, allocations: 4 kB / 2.494 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01023/5.948, allocations: 2.972 MB / 2.497 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002598/5.951, allocations: 5.254 MB / 2.502 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/5.951, allocations: 12 kB / 2.502 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/5.954, allocations: 0.9382 MB / 2.503 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/5.957, allocations: 462.7 kB / 2.503 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/5.961, allocations: 2.182 MB / 2.505 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006292/5.967, allocations: 419.2 kB / 2.506 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006148/5.968, allocations: 111.9 kB / 2.506 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/5.968, allocations: 1.094 kB / 2.506 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009962/5.978, allocations: 2.646 MB / 2.508 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/5.978, allocations: 16.03 kB / 2.509 GB, free: 9.074 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/5.981, allocations: 0.9144 MB / 2.509 GB, free: 8.164 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/5.984, allocations: 447.2 kB / 2.51 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/5.988, allocations: 2.179 MB / 2.512 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/5.993, allocations: 367.2 kB / 2.512 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005767/5.994, allocations: 103.9 kB / 2.512 GB, free: 5.035 MB / 0.9792 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * 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.002761/5.997, allocations: 0.702 MB / 2.513 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/5.998, allocations: 284.6 kB / 2.513 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/6.009, allocations: 2.365 MB / 2.516 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/6.009, allocations: 16 kB / 2.516 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/6.009, allocations: 4 kB / 2.516 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.8087/6.817, allocations: 2.109 MB / 2.518 GB, free: 131.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02922/6.847, allocations: 6.762 MB / 2.524 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/6.847, allocations: 6.156 kB / 2.524 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/6.85, allocations: 280.4 kB / 2.525 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00453/6.854, allocations: 0.7921 MB / 2.525 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/6.855, allocations: 54.05 kB / 2.525 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/6.859, allocations: 1.958 MB / 2.527 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.513e-05/6.859, allocations: 9.688 kB / 2.527 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02192/6.881, allocations: 4.125 MB / 2.531 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004132/6.885, allocations: 0.6496 MB / 2.532 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/6.887, allocations: 38.16 kB / 2.532 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006612/6.894, allocations: 274.4 kB / 2.532 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004737/6.895, allocations: 114 kB / 2.532 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004804/6.895, allocations: 75.03 kB / 2.533 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.008668/6.904, allocations: 1.906 MB / 2.534 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.41e-07/6.904, allocations: 0.9062 kB / 2.534 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01228/6.916, allocations: 1.653 MB / 2.536 GB, free: 127.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (80): * Single equations (assignments): 74 * 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.01927/6.935, allocations: 7.533 MB / 2.543 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01473/6.95, allocations: 3.55 MB / 2.547 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.278e-05/6.95, allocations: 4.562 kB / 2.547 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003824/6.954, allocations: 1.044 MB / 2.548 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009178/6.963, allocations: 1.518 MB / 2.549 GB, free: 123.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06821/7.032, allocations: 27.59 MB / 2.576 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/7.035, allocations: 1.779 MB / 2.578 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005729/7.04, allocations: 0.6638 MB / 2.579 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/7.043, allocations: 1.166 MB / 2.58 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.263e-06/7.043, allocations: 2.656 kB / 2.58 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.7/8.743, allocations: 104.5 MB / 2.682 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/8.743, allocations: 284.5 kB / 2.682 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/15.05, allocations: 0 / 2.682 GB, free: 101.5 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)