Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001191/0.001191, allocations: 185 kB / 377.1 MB, free: 1.535 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.935/1.935, allocations: 205.4 MB / 0.6366 GB, free: 8.586 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.0009646/0.000965, allocations: 90.06 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 11.98 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/2.176, allocations: 424.8 MB / 1.403 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/2.177, allocations: 97.25 kB / 1.403 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.702/5.878, allocations: 1.045 GB / 2.448 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.595e-06/5.878, allocations: 0 / 2.448 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003977/5.879, allocations: 79.97 kB / 2.448 GB, free: 1.16 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01379/5.893, allocations: 3.691 MB / 2.452 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/5.893, allocations: 8.031 kB / 2.452 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00162/5.894, allocations: 328.7 kB / 2.452 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/5.904, allocations: 1.213 MB / 2.453 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009515/5.914, allocations: 3.317 MB / 2.457 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/5.914, allocations: 251.9 kB / 2.457 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00075/5.915, allocations: 232 kB / 2.457 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008606/5.924, allocations: 3.125 MB / 2.46 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-05/5.924, allocations: 15.83 kB / 2.46 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/5.924, allocations: 103.9 kB / 2.46 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.521e-05/5.924, allocations: 71.94 kB / 2.46 GB, free: 4.418 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/5.935, allocations: 2.772 MB / 2.463 GB, free: 1.629 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.8168/6.751, allocations: 13.13 MB / 2.476 GB, free: 90.65 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/6.756, allocations: 1.498 MB / 2.477 GB, free: 90.43 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/6.758, allocations: 1.782 MB / 2.479 GB, free: 88.46 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00384/6.761, allocations: 1.211 MB / 2.48 GB, free: 88.19 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 5.54e-06/6.762, allocations: 0.5625 kB / 2.48 GB, free: 88.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=118): time 0.02461/6.786, allocations: 4.271 MB / 2.484 GB, free: 87.79 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003813/6.787, allocations: 0.9361 MB / 2.485 GB, free: 86.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006933/6.794, allocations: 2.327 MB / 2.488 GB, free: 86.45 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007004/6.794, allocations: 59.77 kB / 2.488 GB, free: 86.42 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/6.796, allocations: 1.37 MB / 2.489 GB, free: 86.04 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00084/6.797, allocations: 412.5 kB / 2.489 GB, free: 85.84 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/6.797, allocations: 29.66 kB / 2.489 GB, free: 85.84 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000164/6.797, allocations: 368.3 kB / 2.49 GB, free: 85.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/6.802, allocations: 0.9434 MB / 2.491 GB, free: 85.54 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/6.806, allocations: 1.559 MB / 2.492 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/6.811, allocations: 1.08 MB / 2.493 GB, free: 84.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/6.811, allocations: 5 kB / 2.493 GB, free: 84.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01111/6.822, allocations: 2.907 MB / 2.496 GB, free: 84.59 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001179/6.823, allocations: 5.041 MB / 2.501 GB, free: 79.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/6.823, allocations: 14.38 kB / 2.501 GB, free: 79.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/6.826, allocations: 0.7215 MB / 2.502 GB, free: 79.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/6.829, allocations: 0.4936 MB / 2.502 GB, free: 79.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/6.831, allocations: 1.793 MB / 2.504 GB, free: 78.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/6.837, allocations: 0.5141 MB / 2.504 GB, free: 78.19 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005538/6.838, allocations: 109.5 kB / 2.505 GB, free: 78.19 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/6.838, allocations: 2.75 kB / 2.505 GB, free: 78.19 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00899/6.847, allocations: 2.588 MB / 2.507 GB, free: 78.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/6.847, allocations: 11.94 kB / 2.507 GB, free: 78.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/6.849, allocations: 0.7247 MB / 2.508 GB, free: 78.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/6.852, allocations: 478.4 kB / 2.508 GB, free: 78.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/6.854, allocations: 1.801 MB / 2.51 GB, free: 77.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/6.86, allocations: 442 kB / 2.51 GB, free: 76.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/6.86, allocations: 105.2 kB / 2.51 GB, free: 76.98 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002404/6.862, allocations: 0.6937 MB / 2.511 GB, free: 76.79 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/6.864, allocations: 273 kB / 2.511 GB, free: 76.66 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009459/6.873, allocations: 2.269 MB / 2.514 GB, free: 76.54 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/6.873, allocations: 19.84 kB / 2.514 GB, free: 76.54 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/6.873, allocations: 6.062 kB / 2.514 GB, free: 76.54 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008097/6.881, allocations: 2.058 MB / 2.516 GB, free: 76.24 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/6.899, allocations: 6.979 MB / 2.522 GB, free: 74.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/6.899, allocations: 6.719 kB / 2.522 GB, free: 74.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/6.901, allocations: 291.6 kB / 2.523 GB, free: 74.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/6.903, allocations: 0.7085 MB / 2.523 GB, free: 74.25 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/6.903, allocations: 48.91 kB / 2.524 GB, free: 74.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/6.905, allocations: 1.794 MB / 2.525 GB, free: 73.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/6.905, allocations: 11.38 kB / 2.525 GB, free: 73.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/6.917, allocations: 4.096 MB / 2.529 GB, free: 71.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/6.92, allocations: 0.657 MB / 2.53 GB, free: 71.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008459/6.921, allocations: 43.08 kB / 2.53 GB, free: 71.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/6.924, allocations: 283.5 kB / 2.53 GB, free: 71.47 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/6.925, allocations: 106.8 kB / 2.53 GB, free: 71.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/6.925, allocations: 76.75 kB / 2.53 GB, free: 71.47 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003617/6.929, allocations: 1.825 MB / 2.532 GB, free: 71.32 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.61e-07/6.929, allocations: 0 / 2.532 GB, free: 71.32 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008192/6.937, allocations: 1.838 MB / 2.534 GB, free: 71.25 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01536/6.952, allocations: 7.661 MB / 2.541 GB, free: 67.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01256/6.965, allocations: 3.49 MB / 2.545 GB, free: 67.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.008e-05/6.965, allocations: 3.344 kB / 2.545 GB, free: 67.45 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/6.968, allocations: 1.039 MB / 2.546 GB, free: 67.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007744/6.976, allocations: 1.391 MB / 2.547 GB, free: 67.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05556/7.032, allocations: 26.88 MB / 2.573 GB, free: 52.17 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/7.033, allocations: 1.761 MB / 2.575 GB, free: 51.44 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004377/7.038, allocations: 0.6898 MB / 2.576 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/7.04, allocations: 1.159 MB / 2.577 GB, free: 51.4 MB / 0.9792 GB Notification: Performance of SimCode: time 9.989e-06/7.04, allocations: 3.375 kB / 2.577 GB, free: 51.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1807/7.22, allocations: 99.33 MB / 2.674 GB, free: 45.87 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/7.221, allocations: 272.4 kB / 2.674 GB, free: 45.52 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.256/13.48, allocations: 0 / 2.674 GB, free: 45.52 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)