Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009586/0.0009585, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4916/0.4916, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.0009568, allocations: 91.91 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.74e-05, allocations: 8 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9284/1.049, allocations: 387.8 MB / 0.9324 GB, free: 92.52 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/1.05, allocations: 90.7 kB / 0.9324 GB, free: 92.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.71/4.76, allocations: 1.061 GB / 1.993 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.857e-06/4.76, allocations: 0 / 1.993 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003852/4.76, allocations: 85.98 kB / 1.993 GB, free: 47.72 MB / 0.6355 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.008766/4.769, allocations: 3.181 MB / 1.996 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/4.769, allocations: 6.312 kB / 1.996 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008853/4.778, allocations: 1.218 MB / 1.998 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008013/4.786, allocations: 3.304 MB / 2.001 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/4.786, allocations: 166.3 kB / 2.001 GB, free: 45.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/4.787, allocations: 135.8 kB / 2.001 GB, free: 45.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003724/4.791, allocations: 1.965 MB / 2.003 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/4.795, allocations: 2.459 MB / 2.005 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/4.795, allocations: 12.58 kB / 2.005 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/4.795, allocations: 6.594 kB / 2.005 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/4.795, allocations: 71.58 kB / 2.006 GB, free: 45.11 MB / 0.6355 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.01773/4.813, allocations: 12.61 MB / 2.018 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/4.814, allocations: 1.122 MB / 2.019 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/4.815, allocations: 0.593 MB / 2.02 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/4.816, allocations: 1.774 MB / 2.021 GB, free: 37.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/4.818, allocations: 0.918 MB / 2.022 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.376e-06/4.818, allocations: 0 / 2.022 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118): time 0.006929/4.824, allocations: 1.841 MB / 2.024 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/4.825, allocations: 0.9347 MB / 2.025 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/4.828, allocations: 1.859 MB / 2.027 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/4.828, allocations: 33.45 kB / 2.027 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/4.829, allocations: 1.392 MB / 2.028 GB, free: 34.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/4.83, allocations: 396.9 kB / 2.028 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/4.83, allocations: 0 / 2.028 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001314/4.83, allocations: 366.5 kB / 2.029 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/4.831, allocations: 0.5917 MB / 2.029 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/4.832, allocations: 1.196 MB / 2.031 GB, free: 33.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/4.836, allocations: 0.9579 MB / 2.032 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/4.836, allocations: 4.375 kB / 2.032 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006068/4.842, allocations: 2.279 MB / 2.034 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009251/4.843, allocations: 4.935 MB / 2.039 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/4.843, allocations: 12.84 kB / 2.039 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/4.844, allocations: 0.5364 MB / 2.039 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/4.847, allocations: 0.4891 MB / 2.04 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/4.849, allocations: 1.78 MB / 2.041 GB, free: 27.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/4.854, allocations: 449.7 kB / 2.042 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/4.854, allocations: 101.4 kB / 2.042 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/4.854, allocations: 11.75 kB / 2.042 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005502/4.86, allocations: 1.988 MB / 2.044 GB, free: 27.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/4.86, allocations: 11.34 kB / 2.044 GB, free: 27.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/4.861, allocations: 0.5386 MB / 2.044 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/4.863, allocations: 480.4 kB / 2.045 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/4.865, allocations: 1.779 MB / 2.047 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/4.869, allocations: 357 kB / 2.047 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/4.87, allocations: 107.2 kB / 2.047 GB, free: 25.92 MB / 0.6355 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 () * 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.0005924/4.87, allocations: 166.7 kB / 2.047 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006926/4.877, allocations: 1.848 MB / 2.049 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/4.878, allocations: 247.1 kB / 2.049 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/4.885, allocations: 1.829 MB / 2.051 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/4.885, allocations: 18.33 kB / 2.051 GB, free: 25.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/4.885, allocations: 7.375 kB / 2.051 GB, free: 25.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005425/4.89, allocations: 1.673 MB / 2.053 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/4.906, allocations: 6.25 MB / 2.059 GB, free: 39.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/4.906, allocations: 7.875 kB / 2.059 GB, free: 39.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/4.908, allocations: 296.4 kB / 2.059 GB, free: 39.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/4.909, allocations: 0.5119 MB / 2.059 GB, free: 39.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/4.909, allocations: 37.06 kB / 2.06 GB, free: 39.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/4.911, allocations: 1.769 MB / 2.061 GB, free: 38.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/4.911, allocations: 9.344 kB / 2.061 GB, free: 38.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008019/4.919, allocations: 3.305 MB / 2.064 GB, free: 36.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/4.921, allocations: 0.6246 MB / 2.065 GB, free: 36.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009639/4.922, allocations: 18.06 kB / 2.065 GB, free: 36.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/4.926, allocations: 252.7 kB / 2.065 GB, free: 36.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/4.926, allocations: 110.2 kB / 2.065 GB, free: 36.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/4.926, allocations: 74.19 kB / 2.066 GB, free: 36.53 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003133/4.929, allocations: 1.386 MB / 2.067 GB, free: 36.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/4.929, allocations: 2.156 kB / 2.067 GB, free: 36.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008033/4.937, allocations: 1.807 MB / 2.069 GB, free: 36.06 MB / 0.6511 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) * 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.01224/4.95, allocations: 6.952 MB / 2.075 GB, free: 32.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0051/4.955, allocations: 2.554 MB / 2.078 GB, free: 32.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/4.955, allocations: 4.5 kB / 2.078 GB, free: 32.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/4.956, allocations: 0.7361 MB / 2.079 GB, free: 32.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006139/4.962, allocations: 1.066 MB / 2.08 GB, free: 32.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/4.979, allocations: 4.495 MB / 2.084 GB, free: 30.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00272/4.981, allocations: 1.77 MB / 2.086 GB, free: 29.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.006042/4.987, allocations: 0.7647 MB / 2.087 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/4.989, allocations: 1.092 MB / 2.088 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/4.989, allocations: 0 / 2.088 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/5.126, allocations: 84.84 MB / 2.17 GB, free: 20.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/5.127, allocations: 197.1 kB / 2.171 GB, free: 20.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.899/10.03, allocations: 4 kB / 2.171 GB, free: 20.23 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)