Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.853/1.853, allocations: 285.4 MB / 298 MB, free: 5.98 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.001279/0.001279, allocations: 184.9 kB / 366.4 MB, free: 2.086 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.793/1.793, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008971/0.0008967, allocations: 93.91 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.779e-05/4.781e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9104, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/2.132, allocations: 424.4 MB / 1.385 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/2.132, allocations: 96.98 kB / 1.385 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.92/6.052, allocations: 1.042 GB / 2.428 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.946e-06/6.052, allocations: 0 / 2.428 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003387/6.052, allocations: 75.62 kB / 2.428 GB, free: 108.5 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008196/6.061, allocations: 3.19 MB / 2.431 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/6.061, allocations: 9.469 kB / 2.431 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006253/6.061, allocations: 317.9 kB / 2.431 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/6.071, allocations: 1.321 MB / 2.432 GB, free: 107 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007084/6.078, allocations: 3.299 MB / 2.436 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/6.078, allocations: 257.4 kB / 2.436 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004986/6.079, allocations: 236 kB / 2.436 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0053/6.084, allocations: 2.828 MB / 2.439 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/6.084, allocations: 7.656 kB / 2.439 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/6.085, allocations: 101.2 kB / 2.439 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.149e-05/6.085, allocations: 69.52 kB / 2.439 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/6.089, allocations: 2.169 MB / 2.441 GB, free: 105.9 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.01883/6.108, allocations: 13.53 MB / 2.454 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/6.11, allocations: 1.224 MB / 2.456 GB, free: 99.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000876/6.111, allocations: 0.6419 MB / 2.456 GB, free: 99.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/6.112, allocations: 1.779 MB / 2.458 GB, free: 97.85 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/6.113, allocations: 0.9676 MB / 2.459 GB, free: 97.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.477e-06/6.113, allocations: 5.594 kB / 2.459 GB, free: 97.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.01524/6.129, allocations: 10.11 MB / 2.469 GB, free: 91.54 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/6.129, allocations: 0.9362 MB / 2.47 GB, free: 90.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/6.132, allocations: 2.34 MB / 2.472 GB, free: 90.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/6.132, allocations: 58.52 kB / 2.472 GB, free: 90.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009839/6.133, allocations: 1.357 MB / 2.473 GB, free: 89.67 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/6.134, allocations: 423.8 kB / 2.474 GB, free: 89.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/6.134, allocations: 36.84 kB / 2.474 GB, free: 89.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/6.134, allocations: 362.1 kB / 2.474 GB, free: 89.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/6.135, allocations: 0.6337 MB / 2.475 GB, free: 89.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/6.136, allocations: 1.275 MB / 2.476 GB, free: 88.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/6.137, allocations: 0.7718 MB / 2.477 GB, free: 88.35 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/6.137, allocations: 7.203 kB / 2.477 GB, free: 88.35 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004101/6.142, allocations: 2.372 MB / 2.479 GB, free: 88.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008733/6.142, allocations: 5.259 MB / 2.484 GB, free: 82.63 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/6.143, allocations: 11.62 kB / 2.484 GB, free: 82.63 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/6.145, allocations: 1.042 MB / 2.485 GB, free: 82.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/6.148, allocations: 449.9 kB / 2.486 GB, free: 82.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/6.15, allocations: 2.203 MB / 2.488 GB, free: 81.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/6.155, allocations: 438.3 kB / 2.488 GB, free: 81.51 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/6.155, allocations: 105.6 kB / 2.488 GB, free: 81.51 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/6.155, allocations: 3.125 kB / 2.488 GB, free: 81.51 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003557/6.159, allocations: 2.1 MB / 2.49 GB, free: 81.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/6.159, allocations: 12.09 kB / 2.49 GB, free: 81.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/6.162, allocations: 1.06 MB / 2.492 GB, free: 81.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/6.164, allocations: 429.8 kB / 2.492 GB, free: 81.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/6.166, allocations: 2.204 MB / 2.494 GB, free: 80.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005018/6.172, allocations: 378.9 kB / 2.494 GB, free: 80.31 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/6.172, allocations: 103.8 kB / 2.495 GB, free: 80.31 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 (148): * Single equations (assignments): 145 * 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 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.00063/6.173, allocations: 222.9 kB / 2.495 GB, free: 80.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009922/6.174, allocations: 283.9 kB / 2.495 GB, free: 80.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/6.179, allocations: 1.766 MB / 2.497 GB, free: 79.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/6.179, allocations: 21.84 kB / 2.497 GB, free: 79.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/6.179, allocations: 3.719 kB / 2.497 GB, free: 79.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003693/6.182, allocations: 1.531 MB / 2.498 GB, free: 79.64 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/6.193, allocations: 6.433 MB / 2.505 GB, free: 77.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/6.193, allocations: 9.781 kB / 2.505 GB, free: 77.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/6.195, allocations: 279.3 kB / 2.505 GB, free: 77.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/6.197, allocations: 0.8917 MB / 2.506 GB, free: 77.65 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/6.197, allocations: 50.22 kB / 2.506 GB, free: 77.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/6.199, allocations: 1.969 MB / 2.508 GB, free: 76.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/6.199, allocations: 10.94 kB / 2.508 GB, free: 76.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/6.206, allocations: 3.423 MB / 2.511 GB, free: 75.19 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/6.208, allocations: 0.666 MB / 2.512 GB, free: 74.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006455/6.208, allocations: 36.56 kB / 2.512 GB, free: 74.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/6.212, allocations: 293.6 kB / 2.512 GB, free: 74.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/6.212, allocations: 112.5 kB / 2.512 GB, free: 74.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/6.212, allocations: 70.59 kB / 2.512 GB, free: 74.93 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002736/6.215, allocations: 1.814 MB / 2.514 GB, free: 74.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/6.215, allocations: 0 / 2.514 GB, free: 74.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006245/6.221, allocations: 1.654 MB / 2.516 GB, free: 74.65 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 (76): * Single equations (assignments): 70 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.009105/6.23, allocations: 6.837 MB / 2.522 GB, free: 71.08 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005441/6.236, allocations: 2.85 MB / 2.525 GB, free: 70.89 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/6.236, allocations: 6.156 kB / 2.525 GB, free: 70.88 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/6.237, allocations: 0.81 MB / 2.526 GB, free: 70.87 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008022/6.245, allocations: 1.502 MB / 2.527 GB, free: 70.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/6.257, allocations: 4.354 MB / 2.532 GB, free: 69.57 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/6.259, allocations: 1.767 MB / 2.533 GB, free: 68.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004421/6.263, allocations: 0.8426 MB / 2.534 GB, free: 68.79 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/6.264, allocations: 1.127 MB / 2.535 GB, free: 68.78 MB / 0.9636 GB Notification: Performance of SimCode: time 1.262e-06/6.264, allocations: 3.281 kB / 2.535 GB, free: 68.78 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1618/6.426, allocations: 110.8 MB / 2.643 GB, free: 51.42 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/6.426, allocations: 244.3 kB / 2.644 GB, free: 51.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.366/12.79, allocations: 0 / 2.644 GB, free: 51.1 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)