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.833/1.833, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001132/0.001132, allocations: 173 kB / 377.1 MB, free: 1.52 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.953/1.953, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0009949/0.0009953, allocations: 94.42 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004298, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2974, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.81/2.107, allocations: 424.9 MB / 1.403 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/2.108, allocations: 96.52 kB / 1.403 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.598/5.705, allocations: 1.046 GB / 2.449 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.404e-06/5.705, allocations: 0 / 2.449 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00039/5.706, allocations: 79.92 kB / 2.45 GB, free: 2.078 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.01261/5.718, allocations: 3.701 MB / 2.453 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/5.718, allocations: 12.75 kB / 2.453 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001366/5.72, allocations: 332.8 kB / 2.453 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009758/5.73, allocations: 1.217 MB / 2.455 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009722/5.739, allocations: 3.309 MB / 2.458 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/5.74, allocations: 248 kB / 2.458 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/5.74, allocations: 239.9 kB / 2.458 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008589/5.749, allocations: 3.176 MB / 2.461 GB, free: 5.441 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.084e-05/5.749, allocations: 15.88 kB / 2.461 GB, free: 5.426 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/5.749, allocations: 108 kB / 2.462 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.222e-05/5.749, allocations: 67.92 kB / 2.462 GB, free: 5.254 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009301/5.759, allocations: 2.803 MB / 2.464 GB, free: 2.434 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.8302/6.589, allocations: 13.35 MB / 2.477 GB, free: 93.83 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/6.593, allocations: 1.533 MB / 2.479 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/6.595, allocations: 1.779 MB / 2.481 GB, free: 91.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003582/6.598, allocations: 1.204 MB / 2.482 GB, free: 91.36 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 4.048e-06/6.598, allocations: 1.844 kB / 2.482 GB, free: 91.36 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.04342/6.642, allocations: 13.32 MB / 2.495 GB, free: 85.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003232/6.642, allocations: 0.9372 MB / 2.496 GB, free: 84.08 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005855/6.648, allocations: 2.421 MB / 2.498 GB, free: 83.86 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005472/6.649, allocations: 64.02 kB / 2.498 GB, free: 83.83 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/6.65, allocations: 1.358 MB / 2.499 GB, free: 83.47 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006087/6.651, allocations: 427.4 kB / 2.5 GB, free: 83.27 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/6.651, allocations: 34.19 kB / 2.5 GB, free: 83.27 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001648/6.651, allocations: 366.4 kB / 2.5 GB, free: 82.96 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/6.655, allocations: 0.9285 MB / 2.501 GB, free: 82.96 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/6.659, allocations: 1.559 MB / 2.503 GB, free: 82.28 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/6.662, allocations: 1.074 MB / 2.504 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/6.662, allocations: 3.375 kB / 2.504 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00977/6.672, allocations: 2.986 MB / 2.507 GB, free: 81.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00121/6.673, allocations: 5.265 MB / 2.512 GB, free: 76.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/6.674, allocations: 11.66 kB / 2.512 GB, free: 76.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/6.677, allocations: 0.9185 MB / 2.513 GB, free: 76.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/6.679, allocations: 464.2 kB / 2.513 GB, free: 76.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/6.682, allocations: 2.186 MB / 2.515 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006181/6.688, allocations: 420.9 kB / 2.516 GB, free: 75.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/6.689, allocations: 107.5 kB / 2.516 GB, free: 75.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/6.689, allocations: 5.188 kB / 2.516 GB, free: 75.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008592/6.697, allocations: 2.647 MB / 2.518 GB, free: 75.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/6.697, allocations: 12.81 kB / 2.518 GB, free: 75.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/6.7, allocations: 0.9248 MB / 2.519 GB, free: 75.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/6.703, allocations: 441.1 kB / 2.52 GB, free: 75.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/6.706, allocations: 2.184 MB / 2.522 GB, free: 74.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/6.711, allocations: 356.5 kB / 2.522 GB, free: 74.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/6.712, allocations: 106.1 kB / 2.522 GB, free: 74.22 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 () * Number of clocked 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002442/6.714, allocations: 0.7006 MB / 2.523 GB, free: 74.03 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/6.716, allocations: 287.6 kB / 2.523 GB, free: 73.89 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/6.725, allocations: 2.349 MB / 2.526 GB, free: 73.77 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/6.725, allocations: 16.53 kB / 2.526 GB, free: 73.77 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/6.725, allocations: 6.344 kB / 2.526 GB, free: 73.77 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008056/6.733, allocations: 2.128 MB / 2.528 GB, free: 73.46 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/6.751, allocations: 6.76 MB / 2.534 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/6.752, allocations: 6.906 kB / 2.534 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/6.753, allocations: 285.3 kB / 2.535 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/6.756, allocations: 0.7848 MB / 2.535 GB, free: 71.52 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/6.756, allocations: 49.28 kB / 2.535 GB, free: 71.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/6.758, allocations: 1.955 MB / 2.537 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/6.758, allocations: 11.75 kB / 2.537 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/6.77, allocations: 4.12 MB / 2.541 GB, free: 69.05 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/6.773, allocations: 0.6525 MB / 2.542 GB, free: 68.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/6.775, allocations: 48.41 kB / 2.542 GB, free: 68.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004716/6.78, allocations: 275.1 kB / 2.542 GB, free: 68.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/6.78, allocations: 109 kB / 2.542 GB, free: 68.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/6.78, allocations: 74.86 kB / 2.542 GB, free: 68.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005527/6.786, allocations: 1.901 MB / 2.544 GB, free: 68.65 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.052e-06/6.786, allocations: 3.25 kB / 2.544 GB, free: 68.65 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01102/6.797, allocations: 1.651 MB / 2.546 GB, free: 68.65 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02012/6.817, allocations: 7.537 MB / 2.553 GB, free: 65.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0143/6.832, allocations: 3.546 MB / 2.557 GB, free: 65.02 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/6.832, allocations: 4.656 kB / 2.557 GB, free: 65.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003943/6.836, allocations: 1.046 MB / 2.558 GB, free: 65 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009339/6.845, allocations: 1.511 MB / 2.559 GB, free: 64.98 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06808/6.913, allocations: 27.6 MB / 2.586 GB, free: 49.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/6.916, allocations: 1.771 MB / 2.588 GB, free: 48.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005259/6.921, allocations: 0.6586 MB / 2.589 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/6.924, allocations: 1.172 MB / 2.59 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.42e-05/6.924, allocations: 2.062 kB / 2.59 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2026/7.127, allocations: 104.4 MB / 2.692 GB, free: 42.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/7.127, allocations: 262.7 kB / 2.692 GB, free: 42.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/13.77, allocations: 0 / 2.692 GB, free: 42.29 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)