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.7921/0.7921, allocations: 143.4 MB / 158.3 MB, free: 5.809 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.001454/0.001455, allocations: 182 kB / 191.5 MB, free: 5.781 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.544/1.544, allocations: 223.2 MB / 447.7 MB, free: 4.875 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.001089/0.001089, allocations: 96.06 kB / 0.5188 GB, free: 1.234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 276.9 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 12.94 kB / 0.6929 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1858, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.369, allocations: 395.8 MB / 1.16 GB, free: 252.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.369, allocations: 98.05 kB / 1.16 GB, free: 252.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.297/4.666, allocations: 1.066 GB / 2.226 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.944e-06/4.666, allocations: 0 / 2.226 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004224/4.667, allocations: 75.98 kB / 2.226 GB, free: 1.504 MB / 0.7292 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.5728/5.24, allocations: 3.7 MB / 2.23 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/5.24, allocations: 11.09 kB / 2.23 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/5.25, allocations: 1.216 MB / 2.231 GB, free: 57.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00936/5.259, allocations: 3.301 MB / 2.234 GB, free: 56.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/5.259, allocations: 250.9 kB / 2.235 GB, free: 56.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006804/5.26, allocations: 231.6 kB / 2.235 GB, free: 56.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009497/5.27, allocations: 3.183 MB / 2.238 GB, free: 56.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.215e-05/5.27, allocations: 6.594 kB / 2.238 GB, free: 56.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/5.27, allocations: 103.7 kB / 2.238 GB, free: 56.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/5.27, allocations: 96.42 kB / 2.238 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/5.281, allocations: 2.805 MB / 2.241 GB, free: 55.99 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02564/5.307, allocations: 13.37 MB / 2.254 GB, free: 50.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/5.311, allocations: 1.523 MB / 2.255 GB, free: 50.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/5.313, allocations: 1.779 MB / 2.257 GB, free: 48.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004062/5.317, allocations: 1.198 MB / 2.258 GB, free: 47.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 4.418e-06/5.317, allocations: 1.562 kB / 2.258 GB, free: 47.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.04186/5.359, allocations: 13.31 MB / 2.271 GB, free: 41.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/5.359, allocations: 0.9388 MB / 2.272 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/5.363, allocations: 2.415 MB / 2.275 GB, free: 40.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/5.364, allocations: 61.67 kB / 2.275 GB, free: 40.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/5.365, allocations: 1.365 MB / 2.276 GB, free: 39.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000486/5.366, allocations: 423.7 kB / 2.276 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/5.366, allocations: 35.09 kB / 2.276 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001193/5.366, allocations: 366.3 kB / 2.277 GB, free: 39.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/5.369, allocations: 0.9286 MB / 2.278 GB, free: 39.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003899/5.373, allocations: 1.564 MB / 2.279 GB, free: 38.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/5.377, allocations: 1.065 MB / 2.28 GB, free: 38.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/5.377, allocations: 7.922 kB / 2.28 GB, free: 38.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009642/5.387, allocations: 2.978 MB / 2.283 GB, free: 38.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/5.388, allocations: 5.269 MB / 2.288 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/5.388, allocations: 11.34 kB / 2.288 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/5.391, allocations: 0.9265 MB / 2.289 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/5.393, allocations: 457 kB / 2.29 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/5.396, allocations: 2.186 MB / 2.292 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/5.402, allocations: 418.4 kB / 2.292 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/5.402, allocations: 108.8 kB / 2.292 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/5.402, allocations: 5.062 kB / 2.292 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008341/5.411, allocations: 2.644 MB / 2.295 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/5.411, allocations: 20.22 kB / 2.295 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/5.413, allocations: 0.9237 MB / 2.296 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/5.416, allocations: 442.3 kB / 2.296 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/5.419, allocations: 2.184 MB / 2.298 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/5.424, allocations: 356.5 kB / 2.299 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/5.425, allocations: 109.2 kB / 2.299 GB, free: 30.65 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 () * Number of clocked 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002438/5.427, allocations: 0.6997 MB / 2.299 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009742/5.428, allocations: 284.7 kB / 2.3 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009179/5.437, allocations: 2.351 MB / 2.302 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/5.437, allocations: 21.03 kB / 2.302 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/5.437, allocations: 6.531 kB / 2.302 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008281/5.446, allocations: 2.118 MB / 2.304 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/5.462, allocations: 6.773 MB / 2.311 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/5.462, allocations: 7.688 kB / 2.311 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/5.464, allocations: 285.7 kB / 2.311 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/5.466, allocations: 0.7873 MB / 2.312 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/5.466, allocations: 53.44 kB / 2.312 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/5.469, allocations: 1.957 MB / 2.314 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/5.469, allocations: 10.5 kB / 2.314 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/5.48, allocations: 4.119 MB / 2.318 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/5.483, allocations: 0.6568 MB / 2.318 GB, free: 25.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008868/5.484, allocations: 35.53 kB / 2.318 GB, free: 25.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004038/5.488, allocations: 280.1 kB / 2.319 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/5.488, allocations: 113.7 kB / 2.319 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/5.488, allocations: 74.2 kB / 2.319 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003943/5.492, allocations: 1.904 MB / 2.321 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/5.492, allocations: 0 / 2.321 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007591/5.5, allocations: 1.653 MB / 2.322 GB, free: 25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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) * Number of clocked states: 0 () * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.003089/5.503, allocations: 1.489 MB / 2.324 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01253/5.516, allocations: 3.547 MB / 2.327 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/5.516, allocations: 4.219 kB / 2.327 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003626/5.519, allocations: 1.051 MB / 2.328 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007943/5.527, allocations: 1.509 MB / 2.33 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/5.541, allocations: 5.979 MB / 2.336 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/5.543, allocations: 1.767 MB / 2.337 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004024/5.547, allocations: 0.6642 MB / 2.338 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/5.547, allocations: 233.3 kB / 2.338 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of SimCode: time 1.583e-06/5.547, allocations: 0 / 2.338 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.1201/5.668, allocations: 76.64 MB / 2.413 GB, free: 16.16 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)