Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.574/2.574, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001481/0.001481, allocations: 188.8 kB / 360.6 MB, free: 7.281 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.994/1.994, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001075/0.001074, allocations: 87.81 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.453e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7721, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/2.127, allocations: 423 MB / 1.377 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/2.127, allocations: 93.7 kB / 1.377 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.795/7.922, allocations: 1.038 GB / 2.414 GB, free: 103.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.235e-06/7.922, allocations: 2.062 kB / 2.414 GB, free: 103.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000532/7.923, allocations: 85.59 kB / 2.414 GB, free: 103.5 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.01184/7.934, allocations: 3.202 MB / 2.417 GB, free: 102.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/7.935, allocations: 10.09 kB / 2.417 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/7.951, allocations: 1.214 MB / 2.419 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/7.963, allocations: 3.293 MB / 2.422 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/7.963, allocations: 164.6 kB / 2.422 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/7.964, allocations: 150.8 kB / 2.422 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007453/7.972, allocations: 1.993 MB / 2.424 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008848/7.981, allocations: 2.485 MB / 2.426 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.643e-05/7.981, allocations: 12.33 kB / 2.426 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005383/7.982, allocations: 15.23 kB / 2.426 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/7.982, allocations: 64.34 kB / 2.427 GB, free: 100.9 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.03196/8.014, allocations: 12.83 MB / 2.439 GB, free: 95.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/8.017, allocations: 1.145 MB / 2.44 GB, free: 95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/8.018, allocations: 0.5762 MB / 2.441 GB, free: 94.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002365/8.02, allocations: 1.779 MB / 2.442 GB, free: 93.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002388/8.023, allocations: 0.9017 MB / 2.443 GB, free: 92.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 7.755e-06/8.023, allocations: 1.469 kB / 2.443 GB, free: 92.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.04796/8.071, allocations: 10.5 MB / 2.454 GB, free: 86.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002962/8.071, allocations: 0.9428 MB / 2.455 GB, free: 85.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/8.076, allocations: 1.825 MB / 2.456 GB, free: 85.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006015/8.077, allocations: 32.11 kB / 2.456 GB, free: 85.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/8.079, allocations: 1.385 MB / 2.458 GB, free: 84.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009397/8.08, allocations: 406.6 kB / 2.458 GB, free: 84.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/8.08, allocations: 3.938 kB / 2.458 GB, free: 84.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000156/8.081, allocations: 367 kB / 2.458 GB, free: 84.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/8.082, allocations: 0.5824 MB / 2.459 GB, free: 84.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/8.085, allocations: 1.191 MB / 2.46 GB, free: 83.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006504/8.092, allocations: 0.9496 MB / 2.461 GB, free: 83.47 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/8.092, allocations: 7.547 kB / 2.461 GB, free: 83.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01194/8.104, allocations: 2.341 MB / 2.463 GB, free: 83.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/8.105, allocations: 5.123 MB / 2.468 GB, free: 77.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-05/8.105, allocations: 14.59 kB / 2.468 GB, free: 77.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/8.108, allocations: 0.7171 MB / 2.469 GB, free: 77.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004996/8.113, allocations: 456.8 kB / 2.47 GB, free: 77.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/8.119, allocations: 2.269 MB / 2.472 GB, free: 76.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008843/8.128, allocations: 370.9 kB / 2.472 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000703/8.129, allocations: 106.6 kB / 2.472 GB, free: 76.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/8.129, allocations: 7.469 kB / 2.472 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01061/8.139, allocations: 2.043 MB / 2.474 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/8.139, allocations: 17.5 kB / 2.474 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/8.142, allocations: 0.7157 MB / 2.475 GB, free: 76.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/8.147, allocations: 444.4 kB / 2.475 GB, free: 76.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/8.153, allocations: 2.278 MB / 2.478 GB, free: 75.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007805/8.161, allocations: 298.4 kB / 2.478 GB, free: 75.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/8.162, allocations: 106.2 kB / 2.478 GB, free: 75.52 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.0008755/8.163, allocations: 168.9 kB / 2.478 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009366/8.172, allocations: 1.747 MB / 2.48 GB, free: 75.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/8.174, allocations: 240.9 kB / 2.48 GB, free: 75.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/8.186, allocations: 1.829 MB / 2.482 GB, free: 74.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/8.186, allocations: 22.03 kB / 2.482 GB, free: 74.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/8.186, allocations: 7.703 kB / 2.482 GB, free: 74.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009423/8.195, allocations: 1.664 MB / 2.484 GB, free: 74.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/8.218, allocations: 6.152 MB / 2.49 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/8.218, allocations: 7.062 kB / 2.49 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/8.221, allocations: 284.7 kB / 2.49 GB, free: 72.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/8.224, allocations: 0.6068 MB / 2.49 GB, free: 72.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003103/8.224, allocations: 36.23 kB / 2.49 GB, free: 72.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004749/8.229, allocations: 2.032 MB / 2.492 GB, free: 71.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/8.229, allocations: 9.562 kB / 2.492 GB, free: 71.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/8.241, allocations: 3.301 MB / 2.496 GB, free: 70.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002484/8.243, allocations: 0.6074 MB / 2.496 GB, free: 70.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/8.245, allocations: 13.88 kB / 2.496 GB, free: 70.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006463/8.251, allocations: 241.8 kB / 2.496 GB, free: 70.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/8.251, allocations: 111.6 kB / 2.497 GB, free: 70.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/8.252, allocations: 76.55 kB / 2.497 GB, free: 70.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003136/8.255, allocations: 1.374 MB / 2.498 GB, free: 70.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.72e-07/8.255, allocations: 3.812 kB / 2.498 GB, free: 70.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009239/8.264, allocations: 1.557 MB / 2.5 GB, free: 69.97 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.0163/8.281, allocations: 6.836 MB / 2.506 GB, free: 66.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01015/8.291, allocations: 2.78 MB / 2.509 GB, free: 66.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/8.291, allocations: 6.031 kB / 2.509 GB, free: 66.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003708/8.295, allocations: 0.8375 MB / 2.51 GB, free: 66.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009724/8.304, allocations: 1.092 MB / 2.511 GB, free: 66.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/8.324, allocations: 4.363 MB / 2.515 GB, free: 64.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/8.326, allocations: 1.774 MB / 2.517 GB, free: 64.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006661/8.332, allocations: 0.7111 MB / 2.518 GB, free: 64.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/8.335, allocations: 1.122 MB / 2.519 GB, free: 64.13 MB / 0.948 GB Notification: Performance of SimCode: time 1.963e-06/8.335, allocations: 3.531 kB / 2.519 GB, free: 64.13 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2756/8.611, allocations: 86.62 MB / 2.603 GB, free: 50.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/8.611, allocations: 191.6 kB / 2.603 GB, free: 50.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/15.54, allocations: 0 / 2.603 GB, free: 50.47 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)