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.706/1.706, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001311/0.001311, allocations: 180.8 kB / 361.4 MB, free: 6.793 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.904/1.904, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008956/0.000896, allocations: 94.77 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.503e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.6994, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.717, allocations: 423.2 MB / 1.378 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.717, allocations: 94.72 kB / 1.378 GB, free: 144 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.767/5.483, allocations: 1.038 GB / 2.415 GB, free: 103.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/5.483, allocations: 0 / 2.415 GB, free: 103.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005138/5.484, allocations: 80.73 kB / 2.415 GB, free: 103.4 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.01121/5.495, allocations: 3.204 MB / 2.419 GB, free: 102.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/5.495, allocations: 10.31 kB / 2.419 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009291/5.505, allocations: 1.209 MB / 2.42 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009981/5.515, allocations: 3.3 MB / 2.423 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/5.515, allocations: 166.4 kB / 2.423 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/5.516, allocations: 142.3 kB / 2.423 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006116/5.523, allocations: 1.993 MB / 2.425 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00863/5.531, allocations: 2.498 MB / 2.428 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/5.531, allocations: 1.594 kB / 2.428 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009081/5.532, allocations: 10.25 kB / 2.428 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/5.532, allocations: 72.09 kB / 2.428 GB, free: 100.8 MB / 0.948 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.02583/5.558, allocations: 12.83 MB / 2.44 GB, free: 95.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/5.56, allocations: 1.153 MB / 2.441 GB, free: 94.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009214/5.561, allocations: 0.5723 MB / 2.442 GB, free: 94.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/5.563, allocations: 1.781 MB / 2.444 GB, free: 92.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/5.564, allocations: 0.9035 MB / 2.445 GB, free: 92.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 6.733e-06/5.564, allocations: 0 / 2.445 GB, free: 92.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.02847/5.593, allocations: 10.49 MB / 2.455 GB, free: 86.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002785/5.593, allocations: 0.9362 MB / 2.456 GB, free: 85.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/5.596, allocations: 1.834 MB / 2.458 GB, free: 85.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004554/5.597, allocations: 33.36 kB / 2.458 GB, free: 85.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/5.598, allocations: 1.385 MB / 2.459 GB, free: 84.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000523/5.598, allocations: 406.9 kB / 2.459 GB, free: 84.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/5.599, allocations: 3.094 kB / 2.459 GB, free: 84.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/5.599, allocations: 367.4 kB / 2.46 GB, free: 84.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/5.6, allocations: 0.5788 MB / 2.46 GB, free: 84.08 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/5.601, allocations: 1.197 MB / 2.461 GB, free: 83.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/5.605, allocations: 0.9515 MB / 2.462 GB, free: 83.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/5.605, allocations: 3.781 kB / 2.462 GB, free: 83.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00663/5.611, allocations: 2.341 MB / 2.465 GB, free: 83.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009418/5.612, allocations: 5.121 MB / 2.47 GB, free: 77.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/5.612, allocations: 12.72 kB / 2.47 GB, free: 77.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/5.614, allocations: 0.7169 MB / 2.47 GB, free: 77.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/5.616, allocations: 456.6 kB / 2.471 GB, free: 77.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/5.62, allocations: 2.27 MB / 2.473 GB, free: 76.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004831/5.625, allocations: 374.6 kB / 2.473 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/5.625, allocations: 107.6 kB / 2.473 GB, free: 76.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/5.625, allocations: 3.562 kB / 2.473 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005514/5.631, allocations: 2.048 MB / 2.475 GB, free: 76.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/5.631, allocations: 11.38 kB / 2.475 GB, free: 76.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/5.632, allocations: 0.7155 MB / 2.476 GB, free: 76.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/5.634, allocations: 443.7 kB / 2.477 GB, free: 76.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/5.638, allocations: 2.279 MB / 2.479 GB, free: 75.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004554/5.642, allocations: 296.2 kB / 2.479 GB, free: 75.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/5.643, allocations: 111.5 kB / 2.479 GB, free: 75.43 MB / 0.948 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,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.000742/5.644, allocations: 162.7 kB / 2.479 GB, free: 75.32 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005488/5.649, allocations: 1.75 MB / 2.481 GB, free: 75.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007846/5.65, allocations: 241.7 kB / 2.481 GB, free: 75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006381/5.656, allocations: 1.832 MB / 2.483 GB, free: 74.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/5.656, allocations: 17.47 kB / 2.483 GB, free: 74.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/5.656, allocations: 11.44 kB / 2.483 GB, free: 74.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005261/5.662, allocations: 1.665 MB / 2.485 GB, free: 74.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/5.678, allocations: 6.155 MB / 2.491 GB, free: 72.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/5.678, allocations: 7.531 kB / 2.491 GB, free: 72.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/5.68, allocations: 275.7 kB / 2.491 GB, free: 72.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/5.681, allocations: 0.6049 MB / 2.492 GB, free: 72.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/5.681, allocations: 32.23 kB / 2.492 GB, free: 72.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/5.684, allocations: 2.037 MB / 2.494 GB, free: 71.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/5.684, allocations: 19.09 kB / 2.494 GB, free: 71.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007976/5.692, allocations: 3.301 MB / 2.497 GB, free: 70.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/5.695, allocations: 0.6051 MB / 2.497 GB, free: 70.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/5.696, allocations: 14.56 kB / 2.497 GB, free: 70.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/5.7, allocations: 244.6 kB / 2.498 GB, free: 70.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/5.7, allocations: 114.9 kB / 2.498 GB, free: 70.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/5.701, allocations: 68.2 kB / 2.498 GB, free: 70.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003138/5.704, allocations: 1.374 MB / 2.499 GB, free: 70 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/5.704, allocations: 0 / 2.499 GB, free: 70 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00936/5.713, allocations: 1.562 MB / 2.501 GB, free: 69.88 MB / 0.948 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.01463/5.728, allocations: 6.841 MB / 2.507 GB, free: 66.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007758/5.736, allocations: 2.786 MB / 2.51 GB, free: 66.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-05/5.736, allocations: 3.406 kB / 2.51 GB, free: 66.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/5.738, allocations: 0.8307 MB / 2.511 GB, free: 66.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007414/5.746, allocations: 1.098 MB / 2.512 GB, free: 66.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/5.761, allocations: 4.353 MB / 2.516 GB, free: 64.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/5.763, allocations: 1.776 MB / 2.518 GB, free: 64.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005695/5.768, allocations: 0.7168 MB / 2.519 GB, free: 64.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/5.77, allocations: 1.123 MB / 2.52 GB, free: 64.05 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/5.77, allocations: 3.172 kB / 2.52 GB, free: 64.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/5.917, allocations: 86.62 MB / 2.604 GB, free: 48.37 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/5.918, allocations: 202.9 kB / 2.605 GB, free: 48.11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.398/11.32, allocations: 0 / 2.605 GB, free: 48.11 MB / 0.948 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)