Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4508/0.4508, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000821/0.0008209, allocations: 91.55 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.73e-05, allocations: 0 / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3185, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9315/1.25, allocations: 388.6 MB / 0.9397 GB, free: 230.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/1.25, allocations: 91.16 kB / 0.9398 GB, free: 230.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.626/4.876, allocations: 1.067 GB / 2.007 GB, free: 51.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/4.876, allocations: 0 / 2.007 GB, free: 51.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004864/4.877, allocations: 82.86 kB / 2.007 GB, free: 51.41 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009913/4.887, allocations: 3.216 MB / 2.01 GB, free: 49.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/4.887, allocations: 14.09 kB / 2.01 GB, free: 49.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00896/4.896, allocations: 1.219 MB / 2.012 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009537/4.905, allocations: 3.308 MB / 2.015 GB, free: 49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/4.906, allocations: 252.9 kB / 2.015 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/4.907, allocations: 228.6 kB / 2.015 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008133/4.915, allocations: 2.839 MB / 2.018 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/4.915, allocations: 4.188 kB / 2.018 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006428/4.916, allocations: 103.7 kB / 2.018 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/4.916, allocations: 97.56 kB / 2.018 GB, free: 48.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/4.922, allocations: 2.14 MB / 2.02 GB, free: 48.38 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.02171/4.943, allocations: 13.36 MB / 2.033 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/4.945, allocations: 1.184 MB / 2.035 GB, free: 42.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/4.946, allocations: 0.6071 MB / 2.035 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/4.947, allocations: 1.782 MB / 2.037 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/4.949, allocations: 0.9384 MB / 2.038 GB, free: 40 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.857e-06/4.949, allocations: 0 / 2.038 GB, free: 40 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.01773/4.967, allocations: 10.05 MB / 2.048 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002746/4.967, allocations: 0.9401 MB / 2.049 GB, free: 32.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/4.971, allocations: 2.339 MB / 2.051 GB, free: 32.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/4.971, allocations: 65.53 kB / 2.051 GB, free: 32.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/4.972, allocations: 1.361 MB / 2.052 GB, free: 32.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/4.972, allocations: 429.7 kB / 2.053 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/4.972, allocations: 33.81 kB / 2.053 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/4.972, allocations: 371.3 kB / 2.053 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009924/4.973, allocations: 0.6051 MB / 2.054 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/4.975, allocations: 1.247 MB / 2.055 GB, free: 30.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/4.976, allocations: 0.7579 MB / 2.056 GB, free: 30.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/4.976, allocations: 3.75 kB / 2.056 GB, free: 30.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003657/4.98, allocations: 2.306 MB / 2.058 GB, free: 30.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009355/4.981, allocations: 5.26 MB / 2.063 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/4.981, allocations: 10.84 kB / 2.063 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/4.983, allocations: 0.8794 MB / 2.064 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/4.985, allocations: 454.4 kB / 2.064 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/4.988, allocations: 2.167 MB / 2.066 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/4.993, allocations: 419.2 kB / 2.067 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/4.993, allocations: 112.4 kB / 2.067 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/4.993, allocations: 3.219 kB / 2.067 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/4.996, allocations: 2.023 MB / 2.069 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/4.996, allocations: 13.84 kB / 2.069 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/4.998, allocations: 0.8762 MB / 2.07 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/5, allocations: 443.8 kB / 2.07 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/5.003, allocations: 2.164 MB / 2.072 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/5.007, allocations: 361.8 kB / 2.073 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/5.007, allocations: 112 kB / 2.073 GB, free: 20.68 MB / 0.6355 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,5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005865/5.008, allocations: 214.3 kB / 2.073 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/5.009, allocations: 293.7 kB / 2.073 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/5.013, allocations: 1.718 MB / 2.075 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/5.013, allocations: 15.47 kB / 2.075 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/5.013, allocations: 7.469 kB / 2.075 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002962/5.016, allocations: 1.483 MB / 2.076 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/5.027, allocations: 6.295 MB / 2.082 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/5.027, allocations: 3.969 kB / 2.082 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/5.029, allocations: 285.3 kB / 2.083 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/5.031, allocations: 0.7216 MB / 2.083 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/5.031, allocations: 58.39 kB / 2.084 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/5.033, allocations: 1.928 MB / 2.085 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/5.033, allocations: 10.03 kB / 2.085 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/5.038, allocations: 3.271 MB / 2.089 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/5.04, allocations: 0.6506 MB / 2.089 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009943/5.041, allocations: 46.61 kB / 2.089 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003672/5.044, allocations: 271.4 kB / 2.09 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/5.045, allocations: 110.7 kB / 2.09 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/5.045, allocations: 72.22 kB / 2.09 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004085/5.049, allocations: 1.822 MB / 2.092 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.633e-06/5.049, allocations: 0 / 2.092 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008959/5.058, allocations: 1.652 MB / 2.093 GB, free: 7.438 MB / 0.6355 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.003436/5.061, allocations: 1.486 MB / 2.095 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006367/5.068, allocations: 2.961 MB / 2.097 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/5.068, allocations: 4.719 kB / 2.097 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/5.07, allocations: 0.8733 MB / 2.098 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007682/5.077, allocations: 1.502 MB / 2.1 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/5.088, allocations: 3.896 MB / 2.104 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/5.09, allocations: 1.781 MB / 2.105 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005308/5.095, allocations: 0.8378 MB / 2.106 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000571/5.096, allocations: 185.7 kB / 2.106 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/5.096, allocations: 0 / 2.106 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.5736/5.67, allocations: 81.43 MB / 2.186 GB, free: 61.7 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)