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.696/1.696, allocations: 285.4 MB / 298 MB, free: 5.949 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.001688/0.001688, allocations: 184.8 kB / 366.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 0.6248 GB, free: 7.699 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008067/0.0008066, allocations: 98.62 kB / 0.738 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.61e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6858, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9996/1.685, allocations: 423.9 MB / 1.385 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/1.686, allocations: 89.7 kB / 1.385 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.84/5.526, allocations: 1.043 GB / 2.428 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.325e-06/5.526, allocations: 0 / 2.428 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004104/5.526, allocations: 79.06 kB / 2.428 GB, free: 108.7 MB / 0.9636 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.009981/5.536, allocations: 3.208 MB / 2.431 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/5.536, allocations: 9.031 kB / 2.431 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008422/5.537, allocations: 319.4 kB / 2.431 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009699/5.547, allocations: 1.218 MB / 2.432 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009713/5.556, allocations: 3.3 MB / 2.436 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/5.557, allocations: 247.8 kB / 2.436 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009952/5.558, allocations: 237.8 kB / 2.436 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006232/5.564, allocations: 2.823 MB / 2.439 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/5.564, allocations: 8.469 kB / 2.439 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/5.565, allocations: 105.6 kB / 2.439 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.777e-05/5.565, allocations: 70.47 kB / 2.439 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/5.569, allocations: 2.147 MB / 2.441 GB, free: 106.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.02307/5.593, allocations: 13.36 MB / 2.454 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/5.594, allocations: 1.189 MB / 2.455 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/5.595, allocations: 0.6108 MB / 2.456 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/5.597, allocations: 1.775 MB / 2.458 GB, free: 98.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/5.598, allocations: 0.9415 MB / 2.459 GB, free: 97.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.586e-06/5.598, allocations: 0 / 2.459 GB, free: 97.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.01657/5.615, allocations: 10.04 MB / 2.468 GB, free: 91.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/5.615, allocations: 0.9353 MB / 2.469 GB, free: 90.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/5.619, allocations: 2.342 MB / 2.472 GB, free: 90.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003521/5.619, allocations: 61.73 kB / 2.472 GB, free: 90.37 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/5.62, allocations: 1.362 MB / 2.473 GB, free: 89.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/5.621, allocations: 425.2 kB / 2.473 GB, free: 89.64 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/5.621, allocations: 34.56 kB / 2.473 GB, free: 89.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.621, allocations: 369.4 kB / 2.474 GB, free: 89.34 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/5.622, allocations: 0.6031 MB / 2.474 GB, free: 89.33 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/5.624, allocations: 1.25 MB / 2.476 GB, free: 88.64 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/5.625, allocations: 0.759 MB / 2.476 GB, free: 88.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/5.625, allocations: 3.875 kB / 2.476 GB, free: 88.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004314/5.629, allocations: 2.308 MB / 2.479 GB, free: 88.33 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/5.631, allocations: 5.262 MB / 2.484 GB, free: 82.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/5.631, allocations: 16.91 kB / 2.484 GB, free: 82.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/5.633, allocations: 0.8818 MB / 2.485 GB, free: 82.83 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/5.636, allocations: 456.4 kB / 2.485 GB, free: 82.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/5.639, allocations: 2.158 MB / 2.487 GB, free: 81.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/5.644, allocations: 428.3 kB / 2.488 GB, free: 81.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003902/5.645, allocations: 110.3 kB / 2.488 GB, free: 81.74 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/5.645, allocations: 4.938 kB / 2.488 GB, free: 81.74 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003607/5.649, allocations: 2.029 MB / 2.49 GB, free: 81.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/5.649, allocations: 15.09 kB / 2.49 GB, free: 81.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/5.651, allocations: 0.8763 MB / 2.491 GB, free: 81.63 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/5.654, allocations: 440.1 kB / 2.491 GB, free: 81.63 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/5.657, allocations: 2.16 MB / 2.493 GB, free: 80.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/5.662, allocations: 364.5 kB / 2.493 GB, free: 80.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/5.662, allocations: 110.1 kB / 2.493 GB, free: 80.54 MB / 0.9636 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 () * 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 {5 22,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006143/5.663, allocations: 215.4 kB / 2.494 GB, free: 80.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007332/5.663, allocations: 292.9 kB / 2.494 GB, free: 80.28 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/5.668, allocations: 1.718 MB / 2.496 GB, free: 80.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/5.668, allocations: 18.34 kB / 2.496 GB, free: 80.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/5.668, allocations: 8.531 kB / 2.496 GB, free: 80.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002993/5.671, allocations: 1.483 MB / 2.497 GB, free: 79.86 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/5.682, allocations: 6.296 MB / 2.503 GB, free: 77.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/5.682, allocations: 5.969 kB / 2.503 GB, free: 77.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/5.684, allocations: 277.6 kB / 2.504 GB, free: 77.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/5.686, allocations: 0.7205 MB / 2.504 GB, free: 77.89 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/5.686, allocations: 52.55 kB / 2.504 GB, free: 77.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/5.689, allocations: 1.931 MB / 2.506 GB, free: 76.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/5.689, allocations: 7 kB / 2.506 GB, free: 76.83 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/5.694, allocations: 3.27 MB / 2.509 GB, free: 75.42 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/5.696, allocations: 0.6594 MB / 2.51 GB, free: 75.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/5.697, allocations: 32.38 kB / 2.51 GB, free: 75.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004148/5.701, allocations: 278.1 kB / 2.51 GB, free: 75.17 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/5.702, allocations: 108 kB / 2.51 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/5.702, allocations: 78.2 kB / 2.511 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003859/5.706, allocations: 1.817 MB / 2.512 GB, free: 75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.61e-07/5.706, allocations: 0 / 2.512 GB, free: 75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008399/5.714, allocations: 1.648 MB / 2.514 GB, free: 74.88 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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) * 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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.009939/5.724, allocations: 6.669 MB / 2.52 GB, free: 71.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008241/5.732, allocations: 2.969 MB / 2.523 GB, free: 71.14 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/5.732, allocations: 4.375 kB / 2.523 GB, free: 71.13 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/5.735, allocations: 0.8701 MB / 2.524 GB, free: 71.13 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00891/5.744, allocations: 1.515 MB / 2.526 GB, free: 71.11 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/5.761, allocations: 4.571 MB / 2.53 GB, free: 69.81 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/5.763, allocations: 1.778 MB / 2.532 GB, free: 69.07 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006147/5.769, allocations: 0.8404 MB / 2.533 GB, free: 69.04 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/5.771, allocations: 1.116 MB / 2.534 GB, free: 69.03 MB / 0.9636 GB Notification: Performance of SimCode: time 1.302e-06/5.771, allocations: 2.156 kB / 2.534 GB, free: 69.03 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1744/5.945, allocations: 108.2 MB / 2.639 GB, free: 54.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/5.946, allocations: 246.7 kB / 2.64 GB, free: 54.44 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.299/12.24, allocations: 0 / 2.64 GB, free: 54.44 MB / 0.9636 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)