Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 289.7 MB / 302.2 MB, free: 2.094 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.001092/0.001092, allocations: 180.5 kB / 371.6 MB, free: 3.383 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.52/1.52, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001008/0.001008, allocations: 92.61 kB / 0.745 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.521e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.594/1.846, allocations: 424.8 MB / 1.395 GB, free: 258.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.846, allocations: 93.48 kB / 1.395 GB, free: 258.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.276/5.122, allocations: 1.043 GB / 2.438 GB, free: 7.023 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/5.122, allocations: 0 / 2.438 GB, free: 7.023 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007115/5.123, allocations: 87.92 kB / 2.438 GB, free: 6.938 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.0133/5.136, allocations: 3.208 MB / 2.441 GB, free: 3.637 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/5.136, allocations: 11.97 kB / 2.441 GB, free: 3.625 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001643/5.138, allocations: 324.8 kB / 2.441 GB, free: 3.297 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/5.15, allocations: 1.213 MB / 2.442 GB, free: 2.078 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/5.163, allocations: 3.297 MB / 2.445 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000666/5.164, allocations: 248 kB / 2.446 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/5.166, allocations: 232 kB / 2.446 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/5.178, allocations: 2.83 MB / 2.449 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/5.179, allocations: 3.938 kB / 2.449 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/5.18, allocations: 108 kB / 2.449 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/5.18, allocations: 67.98 kB / 2.449 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008351/5.188, allocations: 2.141 MB / 2.451 GB, free: 8.852 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.03427/5.223, allocations: 13.36 MB / 2.464 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/5.225, allocations: 1.188 MB / 2.465 GB, free: 9.672 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/5.227, allocations: 0.6124 MB / 2.466 GB, free: 9.055 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002444/5.229, allocations: 1.781 MB / 2.468 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002277/5.232, allocations: 0.9392 MB / 2.468 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 7.324e-06/5.232, allocations: 0 / 2.468 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.8444/6.076, allocations: 10.04 MB / 2.478 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004846/6.076, allocations: 0.9389 MB / 2.479 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/6.082, allocations: 2.336 MB / 2.481 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005665/6.083, allocations: 63.05 kB / 2.482 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/6.084, allocations: 1.361 MB / 2.483 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007107/6.085, allocations: 428.5 kB / 2.483 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/6.085, allocations: 36.69 kB / 2.483 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001346/6.085, allocations: 366.9 kB / 2.484 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/6.087, allocations: 0.604 MB / 2.484 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/6.089, allocations: 1.242 MB / 2.485 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/6.09, allocations: 0.7592 MB / 2.486 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/6.09, allocations: 7.484 kB / 2.486 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005732/6.096, allocations: 2.303 MB / 2.488 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001191/6.097, allocations: 5.26 MB / 2.494 GB, free: 94.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/6.097, allocations: 12.2 kB / 2.494 GB, free: 94.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00318/6.101, allocations: 0.8714 MB / 2.494 GB, free: 94.94 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/6.104, allocations: 456.9 kB / 2.495 GB, free: 94.94 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/6.107, allocations: 2.165 MB / 2.497 GB, free: 93.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/6.113, allocations: 426.5 kB / 2.497 GB, free: 93.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/6.114, allocations: 112.8 kB / 2.497 GB, free: 93.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/6.114, allocations: 4.531 kB / 2.498 GB, free: 93.86 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004692/6.118, allocations: 2.017 MB / 2.499 GB, free: 93.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/6.118, allocations: 14.23 kB / 2.499 GB, free: 93.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/6.121, allocations: 0.8844 MB / 2.5 GB, free: 93.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/6.124, allocations: 442 kB / 2.501 GB, free: 93.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/6.128, allocations: 2.15 MB / 2.503 GB, free: 92.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/6.134, allocations: 375.7 kB / 2.503 GB, free: 92.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005379/6.134, allocations: 105.8 kB / 2.503 GB, free: 92.68 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 () * 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.000814/6.135, allocations: 216.6 kB / 2.504 GB, free: 92.57 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000929/6.136, allocations: 286 kB / 2.504 GB, free: 92.43 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/6.141, allocations: 1.71 MB / 2.505 GB, free: 92.33 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/6.141, allocations: 24.41 kB / 2.506 GB, free: 92.33 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/6.141, allocations: 4.156 kB / 2.506 GB, free: 92.33 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003448/6.145, allocations: 1.484 MB / 2.507 GB, free: 92.04 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/6.159, allocations: 6.297 MB / 2.513 GB, free: 90.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/6.159, allocations: 5.875 kB / 2.513 GB, free: 90.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/6.161, allocations: 282.5 kB / 2.513 GB, free: 90.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/6.163, allocations: 0.7269 MB / 2.514 GB, free: 90.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/6.163, allocations: 51.91 kB / 2.514 GB, free: 90.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/6.166, allocations: 1.929 MB / 2.516 GB, free: 89.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/6.166, allocations: 11.06 kB / 2.516 GB, free: 89.02 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/6.171, allocations: 3.258 MB / 2.519 GB, free: 87.61 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/6.174, allocations: 0.6525 MB / 2.52 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000513/6.174, allocations: 39.11 kB / 2.52 GB, free: 87.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003134/6.177, allocations: 283.2 kB / 2.52 GB, free: 87.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/6.177, allocations: 116.7 kB / 2.52 GB, free: 87.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/6.178, allocations: 71 kB / 2.52 GB, free: 87.36 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003012/6.181, allocations: 1.816 MB / 2.522 GB, free: 87.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/6.181, allocations: 0 / 2.522 GB, free: 87.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005795/6.186, allocations: 1.654 MB / 2.524 GB, free: 87.2 MB / 0.9792 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.007882/6.194, allocations: 6.668 MB / 2.53 GB, free: 83.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007106/6.201, allocations: 2.964 MB / 2.533 GB, free: 83.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.787e-05/6.201, allocations: 5.5 kB / 2.533 GB, free: 83.61 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/6.204, allocations: 0.8753 MB / 2.534 GB, free: 83.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008629/6.212, allocations: 1.513 MB / 2.535 GB, free: 83.56 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/6.226, allocations: 4.568 MB / 2.54 GB, free: 82.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/6.227, allocations: 1.777 MB / 2.542 GB, free: 81.66 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004792/6.232, allocations: 0.8414 MB / 2.542 GB, free: 81.62 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/6.234, allocations: 1.121 MB / 2.544 GB, free: 81.62 MB / 0.9792 GB Notification: Performance of SimCode: time 1.283e-06/6.234, allocations: 0 / 2.544 GB, free: 81.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2175/6.451, allocations: 108.2 MB / 2.649 GB, free: 76.71 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/6.451, allocations: 244.7 kB / 2.649 GB, free: 76.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.314/12.77, allocations: 0 / 2.649 GB, free: 76.4 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)