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.86/1.86, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001536/0.001536, allocations: 176.9 kB / 366.7 MB, free: 1.652 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.727/1.727, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009031/0.000903, allocations: 89.72 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.586e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6711, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9714/1.643, allocations: 424.2 MB / 1.388 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.643, allocations: 91.52 kB / 1.388 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.713/5.356, allocations: 1.038 GB / 2.425 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.804e-06/5.356, allocations: 1.062 kB / 2.425 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003727/5.357, allocations: 79.98 kB / 2.425 GB, free: 109.4 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.009834/5.367, allocations: 3.213 MB / 2.428 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/5.367, allocations: 9.75 kB / 2.428 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008699/5.375, allocations: 1.213 MB / 2.43 GB, free: 108 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/5.383, allocations: 3.298 MB / 2.433 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/5.384, allocations: 165.6 kB / 2.433 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/5.384, allocations: 141 kB / 2.433 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004427/5.389, allocations: 1.992 MB / 2.435 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/5.394, allocations: 2.496 MB / 2.438 GB, free: 107 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.482e-05/5.394, allocations: 13.45 kB / 2.438 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/5.394, allocations: 8.281 kB / 2.438 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.312e-05/5.394, allocations: 70.83 kB / 2.438 GB, free: 106.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.01815/5.412, allocations: 12.81 MB / 2.45 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/5.414, allocations: 1.141 MB / 2.451 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007287/5.414, allocations: 0.5776 MB / 2.452 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/5.416, allocations: 1.779 MB / 2.454 GB, free: 99.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/5.417, allocations: 0.9041 MB / 2.454 GB, free: 98.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.677e-06/5.417, allocations: 0 / 2.454 GB, free: 98.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.02327/5.441, allocations: 10.51 MB / 2.465 GB, free: 92.76 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/5.441, allocations: 0.9378 MB / 2.466 GB, free: 91.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/5.443, allocations: 1.832 MB / 2.467 GB, free: 91.42 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002921/5.444, allocations: 37.64 kB / 2.467 GB, free: 91.39 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/5.445, allocations: 1.381 MB / 2.469 GB, free: 90.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/5.445, allocations: 409.7 kB / 2.469 GB, free: 90.56 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/5.445, allocations: 0 / 2.469 GB, free: 90.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/5.445, allocations: 364 kB / 2.47 GB, free: 90.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/5.446, allocations: 0.5851 MB / 2.47 GB, free: 90.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/5.448, allocations: 1.19 MB / 2.471 GB, free: 89.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/5.451, allocations: 0.9501 MB / 2.472 GB, free: 89.55 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/5.451, allocations: 3.969 kB / 2.472 GB, free: 89.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006611/5.458, allocations: 2.341 MB / 2.474 GB, free: 89.35 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00106/5.459, allocations: 5.121 MB / 2.479 GB, free: 83.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/5.459, allocations: 10.41 kB / 2.479 GB, free: 83.88 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/5.461, allocations: 0.7258 MB / 2.48 GB, free: 83.86 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/5.463, allocations: 457.6 kB / 2.481 GB, free: 83.86 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/5.467, allocations: 2.274 MB / 2.483 GB, free: 82.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/5.472, allocations: 361.9 kB / 2.483 GB, free: 82.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/5.472, allocations: 105.9 kB / 2.483 GB, free: 82.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/5.472, allocations: 7.859 kB / 2.483 GB, free: 82.77 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006317/5.479, allocations: 2.052 MB / 2.485 GB, free: 82.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/5.479, allocations: 10.88 kB / 2.485 GB, free: 82.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/5.48, allocations: 0.7214 MB / 2.486 GB, free: 82.69 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/5.483, allocations: 438.9 kB / 2.486 GB, free: 82.69 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/5.486, allocations: 2.277 MB / 2.489 GB, free: 81.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/5.491, allocations: 306.4 kB / 2.489 GB, free: 81.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004832/5.492, allocations: 105.3 kB / 2.489 GB, free: 81.6 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 (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.0009055/5.493, allocations: 161.2 kB / 2.489 GB, free: 81.49 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006105/5.499, allocations: 1.744 MB / 2.491 GB, free: 81.29 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/5.5, allocations: 250.2 kB / 2.491 GB, free: 81.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006748/5.506, allocations: 1.834 MB / 2.493 GB, free: 81.04 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/5.507, allocations: 14.94 kB / 2.493 GB, free: 81.04 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/5.507, allocations: 3.781 kB / 2.493 GB, free: 81.04 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005016/5.512, allocations: 1.666 MB / 2.495 GB, free: 80.73 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/5.528, allocations: 6.163 MB / 2.501 GB, free: 78.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/5.528, allocations: 7.562 kB / 2.501 GB, free: 78.83 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/5.53, allocations: 277.1 kB / 2.501 GB, free: 78.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/5.531, allocations: 0.6119 MB / 2.501 GB, free: 78.81 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/5.532, allocations: 39.12 kB / 2.501 GB, free: 78.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/5.535, allocations: 2.03 MB / 2.503 GB, free: 77.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/5.535, allocations: 11.38 kB / 2.503 GB, free: 77.75 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008416/5.544, allocations: 3.296 MB / 2.507 GB, free: 76.55 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/5.546, allocations: 0.603 MB / 2.507 GB, free: 76.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/5.547, allocations: 15.28 kB / 2.507 GB, free: 76.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004363/5.552, allocations: 247.2 kB / 2.508 GB, free: 76.33 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/5.552, allocations: 112.2 kB / 2.508 GB, free: 76.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/5.552, allocations: 75.72 kB / 2.508 GB, free: 76.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003464/5.556, allocations: 1.369 MB / 2.509 GB, free: 76.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.51e-07/5.556, allocations: 4.578 kB / 2.509 GB, free: 76.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0102/5.566, allocations: 1.559 MB / 2.511 GB, free: 76.06 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 (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.01288/5.579, allocations: 6.824 MB / 2.517 GB, free: 72.51 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00671/5.586, allocations: 2.784 MB / 2.52 GB, free: 72.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/5.586, allocations: 5.969 kB / 2.52 GB, free: 72.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/5.588, allocations: 0.8387 MB / 2.521 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0067/5.595, allocations: 1.106 MB / 2.522 GB, free: 72.28 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/5.611, allocations: 4.35 MB / 2.526 GB, free: 71 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/5.613, allocations: 1.776 MB / 2.528 GB, free: 70.26 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004663/5.617, allocations: 0.7164 MB / 2.529 GB, free: 70.23 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/5.619, allocations: 1.116 MB / 2.53 GB, free: 70.23 MB / 0.9636 GB Notification: Performance of SimCode: time 2.675e-06/5.619, allocations: 0 / 2.53 GB, free: 70.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/5.763, allocations: 86.64 MB / 2.614 GB, free: 65.05 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/5.763, allocations: 191.2 kB / 2.614 GB, free: 64.86 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.291/11.05, allocations: 7.75 kB / 2.614 GB, free: 64.86 MB / 0.9636 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)