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: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.9 kB / 8.006 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.4966/0.4966, allocations: 90.91 MB / 99.34 MB, free: 2.203 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.403/1.403, allocations: 221.5 MB / 343.2 MB, free: 1.625 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.0008711/0.0008711, allocations: 91.89 kB / 415.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.453e-05, allocations: 4 kB / 494.5 MB, free: 52.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 72.32 MB / 0.5535 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.147, allocations: 387.8 MB / 0.9323 GB, free: 93.17 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/1.147, allocations: 87.73 kB / 0.9323 GB, free: 93.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.641/4.788, allocations: 1.061 GB / 1.993 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/4.788, allocations: 2.125 kB / 1.993 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004894/4.788, allocations: 86.5 kB / 1.993 GB, free: 48.43 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.009729/4.798, allocations: 3.171 MB / 1.996 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/4.798, allocations: 11.81 kB / 1.996 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/4.808, allocations: 1.218 MB / 1.998 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006844/4.815, allocations: 3.3 MB / 2.001 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/4.815, allocations: 167.8 kB / 2.001 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/4.815, allocations: 135.8 kB / 2.001 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003352/4.819, allocations: 1.964 MB / 2.003 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/4.823, allocations: 2.46 MB / 2.005 GB, free: 45.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/4.823, allocations: 7.281 kB / 2.005 GB, free: 45.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/4.823, allocations: 11.62 kB / 2.005 GB, free: 45.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/4.823, allocations: 68.62 kB / 2.005 GB, free: 45.81 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.01894/4.842, allocations: 12.62 MB / 2.018 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/4.843, allocations: 1.124 MB / 2.019 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/4.844, allocations: 0.5931 MB / 2.019 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/4.846, allocations: 1.78 MB / 2.021 GB, free: 38.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/4.847, allocations: 0.9188 MB / 2.022 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.327e-06/4.847, allocations: 0 / 2.022 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118): time 0.006452/4.853, allocations: 1.838 MB / 2.024 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/4.854, allocations: 0.9346 MB / 2.025 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/4.856, allocations: 1.852 MB / 2.027 GB, free: 36.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/4.856, allocations: 36.36 kB / 2.027 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/4.858, allocations: 1.387 MB / 2.028 GB, free: 35.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/4.858, allocations: 398.2 kB / 2.028 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/4.858, allocations: 2.156 kB / 2.028 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/4.858, allocations: 367.7 kB / 2.029 GB, free: 35.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008889/4.859, allocations: 0.5937 MB / 2.029 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/4.86, allocations: 1.191 MB / 2.03 GB, free: 34.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/4.864, allocations: 0.9614 MB / 2.031 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/4.864, allocations: 3.438 kB / 2.031 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005877/4.869, allocations: 2.279 MB / 2.034 GB, free: 34.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008553/4.87, allocations: 4.937 MB / 2.038 GB, free: 28.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/4.87, allocations: 14.28 kB / 2.038 GB, free: 28.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/4.871, allocations: 0.5326 MB / 2.039 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/4.874, allocations: 0.4885 MB / 2.039 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/4.876, allocations: 1.781 MB / 2.041 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/4.88, allocations: 444.1 kB / 2.042 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/4.88, allocations: 109.1 kB / 2.042 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/4.88, allocations: 3.969 kB / 2.042 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004975/4.885, allocations: 1.993 MB / 2.044 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/4.885, allocations: 10 kB / 2.044 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/4.886, allocations: 0.5304 MB / 2.044 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/4.889, allocations: 483.9 kB / 2.045 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/4.891, allocations: 1.776 MB / 2.046 GB, free: 26.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/4.894, allocations: 358.6 kB / 2.047 GB, free: 26.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/4.895, allocations: 114.5 kB / 2.047 GB, free: 26.63 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.0005172/4.895, allocations: 162.6 kB / 2.047 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/4.896, allocations: 247.7 kB / 2.047 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00623/4.902, allocations: 1.841 MB / 2.049 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/4.902, allocations: 22.55 kB / 2.049 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/4.902, allocations: 6.656 kB / 2.049 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005264/4.907, allocations: 1.675 MB / 2.051 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/4.92, allocations: 6.236 MB / 2.057 GB, free: 40.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/4.92, allocations: 6.438 kB / 2.057 GB, free: 40.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/4.922, allocations: 298.1 kB / 2.057 GB, free: 40.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/4.923, allocations: 0.5143 MB / 2.058 GB, free: 40.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/4.923, allocations: 38.88 kB / 2.058 GB, free: 40.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/4.925, allocations: 1.765 MB / 2.059 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/4.925, allocations: 16.92 kB / 2.059 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006627/4.932, allocations: 3.304 MB / 2.063 GB, free: 37.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/4.934, allocations: 0.6211 MB / 2.063 GB, free: 37.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/4.934, allocations: 21.78 kB / 2.063 GB, free: 37.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/4.937, allocations: 247.3 kB / 2.063 GB, free: 37.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/4.937, allocations: 112.1 kB / 2.064 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/4.937, allocations: 74.33 kB / 2.064 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002128/4.94, allocations: 1.383 MB / 2.065 GB, free: 37.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/4.94, allocations: 0 / 2.065 GB, free: 37.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006/4.946, allocations: 1.818 MB / 2.067 GB, free: 36.98 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.002998/4.949, allocations: 1.483 MB / 2.068 GB, free: 36.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004482/4.953, allocations: 2.552 MB / 2.071 GB, free: 36.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/4.953, allocations: 4.406 kB / 2.071 GB, free: 36.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/4.954, allocations: 0.736 MB / 2.071 GB, free: 36.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005476/4.96, allocations: 1.081 MB / 2.072 GB, free: 36.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/4.968, allocations: 3.861 MB / 2.076 GB, free: 35.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/4.97, allocations: 1.77 MB / 2.078 GB, free: 34.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003826/4.974, allocations: 0.756 MB / 2.079 GB, free: 34.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/4.974, allocations: 178.5 kB / 2.079 GB, free: 34.26 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/4.974, allocations: 0 / 2.079 GB, free: 34.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.08996/5.064, allocations: 62.71 MB / 2.14 GB, free: 30.03 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)