Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 172.2 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009256, allocations: 92.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00164/0.001639, allocations: 281.3 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.765e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.498, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7612/1.259, allocations: 395.1 MB / 1.143 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.26, allocations: 96.56 kB / 1.143 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.74/4.999, allocations: 1.058 GB / 2.201 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.083e-06/5, allocations: 0 / 2.201 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004619/5, allocations: 79.92 kB / 2.201 GB, free: 48.32 MB / 0.7136 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.009362/5.009, allocations: 3.207 MB / 2.204 GB, free: 45.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/5.009, allocations: 12.03 kB / 2.204 GB, free: 45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/5.018, allocations: 1.21 MB / 2.205 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009615/5.028, allocations: 3.282 MB / 2.208 GB, free: 40.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/5.029, allocations: 163.9 kB / 2.209 GB, free: 40.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000979/5.03, allocations: 139.6 kB / 2.209 GB, free: 40.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005071/5.035, allocations: 2 MB / 2.211 GB, free: 38.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/5.039, allocations: 2.508 MB / 2.213 GB, free: 35.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/5.04, allocations: 3.938 kB / 2.213 GB, free: 35.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/5.04, allocations: 8 kB / 2.213 GB, free: 35.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/5.04, allocations: 96.2 kB / 2.213 GB, free: 35.31 MB / 0.7136 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.02024/5.06, allocations: 12.82 MB / 2.226 GB, free: 21.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/5.062, allocations: 1.144 MB / 2.227 GB, free: 20.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/5.062, allocations: 0.5858 MB / 2.227 GB, free: 20.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/5.064, allocations: 1.774 MB / 2.229 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/5.065, allocations: 0.9111 MB / 2.23 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.236e-06/5.065, allocations: 0 / 2.23 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.0209/5.086, allocations: 10.49 MB / 2.24 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/5.086, allocations: 0.9322 MB / 2.241 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/5.089, allocations: 1.824 MB / 2.243 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002912/5.089, allocations: 33.7 kB / 2.243 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/5.09, allocations: 1.385 MB / 2.244 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/5.09, allocations: 410 kB / 2.245 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/5.09, allocations: 0 / 2.245 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/5.091, allocations: 369.9 kB / 2.245 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/5.091, allocations: 0.5819 MB / 2.246 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/5.093, allocations: 1.196 MB / 2.247 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/5.097, allocations: 0.9512 MB / 2.248 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/5.097, allocations: 4 kB / 2.248 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006525/5.103, allocations: 2.343 MB / 2.25 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002166/5.106, allocations: 5.124 MB / 2.255 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/5.106, allocations: 15.94 kB / 2.255 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/5.107, allocations: 0.7114 MB / 2.256 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/5.11, allocations: 455.2 kB / 2.256 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003822/5.114, allocations: 2.273 MB / 2.258 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/5.118, allocations: 367.2 kB / 2.259 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/5.119, allocations: 107.9 kB / 2.259 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/5.119, allocations: 4 kB / 2.259 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006152/5.125, allocations: 2.055 MB / 2.261 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/5.125, allocations: 12 kB / 2.261 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6021/5.727, allocations: 0.7057 MB / 2.262 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/5.73, allocations: 440.9 kB / 2.262 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/5.734, allocations: 2.273 MB / 2.264 GB, free: 73.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/5.739, allocations: 302.8 kB / 2.265 GB, free: 73.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003964/5.739, allocations: 107.2 kB / 2.265 GB, free: 73.85 MB / 0.7292 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.0006363/5.74, allocations: 160.6 kB / 2.265 GB, free: 73.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/5.741, allocations: 248.9 kB / 2.265 GB, free: 73.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006471/5.747, allocations: 1.834 MB / 2.267 GB, free: 73.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/5.747, allocations: 15.94 kB / 2.267 GB, free: 73.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/5.747, allocations: 4.812 kB / 2.267 GB, free: 73.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005031/5.752, allocations: 1.666 MB / 2.268 GB, free: 73.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/5.766, allocations: 6.147 MB / 2.274 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/5.766, allocations: 7.766 kB / 2.274 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/5.767, allocations: 281.4 kB / 2.275 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/5.768, allocations: 0.6013 MB / 2.275 GB, free: 71.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/5.769, allocations: 33.72 kB / 2.275 GB, free: 71.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/5.771, allocations: 2.034 MB / 2.277 GB, free: 70.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/5.771, allocations: 7.5 kB / 2.277 GB, free: 70.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/5.778, allocations: 3.29 MB / 2.281 GB, free: 69.37 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/5.78, allocations: 0.6142 MB / 2.281 GB, free: 69.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/5.78, allocations: 13.47 kB / 2.281 GB, free: 69.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/5.783, allocations: 256.8 kB / 2.281 GB, free: 69.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/5.784, allocations: 103.5 kB / 2.281 GB, free: 69.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/5.784, allocations: 74.3 kB / 2.282 GB, free: 69.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001942/5.786, allocations: 1.375 MB / 2.283 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/5.786, allocations: 0 / 2.283 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005594/5.791, allocations: 1.562 MB / 2.284 GB, free: 69.09 MB / 0.7292 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.003018/5.794, allocations: 1.484 MB / 2.286 GB, free: 68.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006021/5.8, allocations: 2.781 MB / 2.289 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/5.8, allocations: 0.7188 kB / 2.289 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/5.802, allocations: 0.8424 MB / 2.289 GB, free: 68.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005908/5.808, allocations: 1.093 MB / 2.29 GB, free: 68.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009172/5.817, allocations: 3.734 MB / 2.294 GB, free: 67.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/5.819, allocations: 1.77 MB / 2.296 GB, free: 66.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004243/5.823, allocations: 0.7173 MB / 2.297 GB, free: 66.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/5.823, allocations: 171 kB / 2.297 GB, free: 66.79 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/5.823, allocations: 3.688 kB / 2.297 GB, free: 66.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.126/5.949, allocations: 64.62 MB / 2.36 GB, free: 63.05 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)