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.000995/0.000995, allocations: 177.6 kB / 8.002 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.5035/0.5035, allocations: 90.92 MB / 99.35 MB, free: 2.145 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.408/1.408, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.0009687/0.0009687, allocations: 93.06 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.81e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.975/1.111, allocations: 388 MB / 0.9324 GB, free: 93.02 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.111, allocations: 87.33 kB / 0.9325 GB, free: 92.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.721/4.833, allocations: 1.062 GB / 1.995 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/4.833, allocations: 0 / 1.995 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004265/4.833, allocations: 84.27 kB / 1.995 GB, free: 46.87 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.008464/4.842, allocations: 3.212 MB / 1.998 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/4.842, allocations: 7.688 kB / 1.998 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008671/4.85, allocations: 1.211 MB / 1.999 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0079/4.858, allocations: 3.318 MB / 2.002 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/4.859, allocations: 167.9 kB / 2.002 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007702/4.859, allocations: 138.7 kB / 2.003 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004442/4.864, allocations: 1.993 MB / 2.004 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/4.869, allocations: 2.51 MB / 2.007 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/4.869, allocations: 5.5 kB / 2.007 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/4.87, allocations: 7.469 kB / 2.007 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.55e-05/4.87, allocations: 97.69 kB / 2.007 GB, free: 44.2 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.0182/4.888, allocations: 12.82 MB / 2.02 GB, free: 38.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/4.889, allocations: 1.143 MB / 2.021 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/4.89, allocations: 0.5692 MB / 2.021 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/4.892, allocations: 1.782 MB / 2.023 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/4.893, allocations: 0.9081 MB / 2.024 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.567e-06/4.893, allocations: 0 / 2.024 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.02153/4.914, allocations: 10.5 MB / 2.034 GB, free: 30 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/4.915, allocations: 0.941 MB / 2.035 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/4.917, allocations: 1.839 MB / 2.037 GB, free: 28.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/4.917, allocations: 36.83 kB / 2.037 GB, free: 28.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000959/4.918, allocations: 1.391 MB / 2.038 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/4.918, allocations: 407.7 kB / 2.039 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/4.919, allocations: 0.9062 kB / 2.039 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/4.919, allocations: 364.9 kB / 2.039 GB, free: 27.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/4.92, allocations: 0.5847 MB / 2.04 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/4.921, allocations: 1.189 MB / 2.041 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/4.924, allocations: 0.9554 MB / 2.042 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/4.924, allocations: 3.094 kB / 2.042 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005772/4.93, allocations: 2.344 MB / 2.044 GB, free: 26.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001097/4.931, allocations: 5.128 MB / 2.049 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/4.931, allocations: 13.5 kB / 2.049 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/4.932, allocations: 0.7141 MB / 2.05 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/4.935, allocations: 456.7 kB / 2.05 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/4.938, allocations: 2.267 MB / 2.052 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004391/4.942, allocations: 365.9 kB / 2.053 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/4.942, allocations: 107.5 kB / 2.053 GB, free: 20 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/4.942, allocations: 6.875 kB / 2.053 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005106/4.947, allocations: 2.053 MB / 2.055 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/4.948, allocations: 10.38 kB / 2.055 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/4.949, allocations: 0.716 MB / 2.055 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/4.951, allocations: 445.1 kB / 2.056 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/4.954, allocations: 2.28 MB / 2.058 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/4.958, allocations: 301.9 kB / 2.058 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/4.959, allocations: 103.6 kB / 2.059 GB, free: 18.84 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,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006529/4.959, allocations: 156.3 kB / 2.059 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/4.96, allocations: 252.3 kB / 2.059 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/4.966, allocations: 1.839 MB / 2.061 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/4.966, allocations: 14.62 kB / 2.061 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/4.966, allocations: 3.062 kB / 2.061 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004851/4.971, allocations: 1.666 MB / 2.062 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/4.985, allocations: 6.149 MB / 2.068 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/4.985, allocations: 6.625 kB / 2.068 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/4.987, allocations: 282.5 kB / 2.069 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/4.988, allocations: 0.6064 MB / 2.069 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/4.988, allocations: 37.94 kB / 2.069 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/4.991, allocations: 2.032 MB / 2.071 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/4.991, allocations: 9.25 kB / 2.071 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007064/4.998, allocations: 3.294 MB / 2.074 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/5, allocations: 0.6135 MB / 2.075 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/5.001, allocations: 15.17 kB / 2.075 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/5.004, allocations: 247.2 kB / 2.075 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/5.005, allocations: 111.3 kB / 2.075 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/5.005, allocations: 73.72 kB / 2.075 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002916/5.008, allocations: 1.372 MB / 2.077 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/5.008, allocations: 3.156 kB / 2.077 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008206/5.016, allocations: 1.559 MB / 2.078 GB, free: 13.49 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.003613/5.02, allocations: 1.47 MB / 2.08 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006168/5.026, allocations: 2.799 MB / 2.083 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/5.026, allocations: 4.156 kB / 2.083 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/5.028, allocations: 0.8344 MB / 2.083 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006371/5.034, allocations: 1.081 MB / 2.084 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/5.045, allocations: 3.743 MB / 2.088 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/5.046, allocations: 1.772 MB / 2.09 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00381/5.049, allocations: 0.7146 MB / 2.09 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/5.05, allocations: 169 kB / 2.091 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/5.05, allocations: 0 / 2.091 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of Templates: time 0.08559/5.136, allocations: 64.13 MB / 2.153 GB, free: 6.566 MB / 0.6355 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)