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.7695/0.7695, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 182.7 kB / 187.3 MB, free: 11.89 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.408/1.408, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009652/0.0009654, allocations: 93.81 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 282.3 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.44e-05/4.452e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5266, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.735/1.262, allocations: 395.7 MB / 1.151 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.262, allocations: 102.1 kB / 1.151 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.842/5.104, allocations: 1.063 GB / 2.213 GB, free: 38.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/5.104, allocations: 3.938 kB / 2.213 GB, free: 38.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003629/5.105, allocations: 79.92 kB / 2.214 GB, free: 38.26 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.009739/5.114, allocations: 3.205 MB / 2.217 GB, free: 34.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/5.115, allocations: 8.031 kB / 2.217 GB, free: 34.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008873/5.123, allocations: 1.213 MB / 2.218 GB, free: 33.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008313/5.132, allocations: 3.279 MB / 2.221 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/5.132, allocations: 247.9 kB / 2.221 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006997/5.133, allocations: 240 kB / 2.222 GB, free: 29.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005059/5.138, allocations: 2.835 MB / 2.224 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/5.138, allocations: 7.938 kB / 2.224 GB, free: 26.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/5.138, allocations: 100 kB / 2.224 GB, free: 26.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/5.138, allocations: 92.27 kB / 2.225 GB, free: 26.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/5.142, allocations: 2.148 MB / 2.227 GB, free: 24.49 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.01976/5.162, allocations: 13.36 MB / 2.24 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/5.164, allocations: 1.203 MB / 2.241 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/5.164, allocations: 0.6078 MB / 2.241 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/5.166, allocations: 1.781 MB / 2.243 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/5.167, allocations: 0.9354 MB / 2.244 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.777e-06/5.167, allocations: 4 kB / 2.244 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.017/5.184, allocations: 10.04 MB / 2.254 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005354/5.185, allocations: 0.9363 MB / 2.255 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/5.189, allocations: 2.334 MB / 2.257 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004745/5.19, allocations: 61.7 kB / 2.257 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/5.191, allocations: 1.361 MB / 2.258 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005476/5.192, allocations: 422 kB / 2.259 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/5.192, allocations: 32 kB / 2.259 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001816/5.192, allocations: 369.9 kB / 2.259 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/5.193, allocations: 0.6053 MB / 2.26 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/5.195, allocations: 1.243 MB / 2.261 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/5.196, allocations: 0.7587 MB / 2.262 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/5.196, allocations: 4 kB / 2.262 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004909/5.201, allocations: 2.308 MB / 2.264 GB, free: 348 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002045/5.203, allocations: 5.256 MB / 2.269 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/5.203, allocations: 12 kB / 2.269 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/5.206, allocations: 0.8725 MB / 2.27 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/5.209, allocations: 455.2 kB / 2.27 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/5.212, allocations: 2.165 MB / 2.273 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/5.218, allocations: 435.1 kB / 2.273 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/5.218, allocations: 107.9 kB / 2.273 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/5.218, allocations: 4 kB / 2.273 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003787/5.222, allocations: 2.032 MB / 2.275 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/5.222, allocations: 12 kB / 2.275 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/5.225, allocations: 0.8678 MB / 2.276 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/5.227, allocations: 439.2 kB / 2.276 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/5.231, allocations: 2.171 MB / 2.279 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/5.235, allocations: 367.2 kB / 2.279 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/5.236, allocations: 107.9 kB / 2.279 GB, free: 0.5781 MB / 0.7448 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.0006148/5.236, allocations: 217.6 kB / 2.279 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/5.237, allocations: 284.6 kB / 2.279 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6015/5.839, allocations: 1.713 MB / 2.281 GB, free: 85.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/5.839, allocations: 15.86 kB / 2.281 GB, free: 85.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/5.839, allocations: 5.562 kB / 2.281 GB, free: 85.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003811/5.843, allocations: 1.486 MB / 2.283 GB, free: 84.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/5.856, allocations: 6.286 MB / 2.289 GB, free: 82.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/5.856, allocations: 10.36 kB / 2.289 GB, free: 82.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/5.857, allocations: 278.7 kB / 2.289 GB, free: 82.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/5.86, allocations: 0.7268 MB / 2.29 GB, free: 82.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/5.86, allocations: 53.16 kB / 2.29 GB, free: 82.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/5.862, allocations: 1.933 MB / 2.292 GB, free: 81.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/5.862, allocations: 9.219 kB / 2.292 GB, free: 81.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/5.867, allocations: 3.261 MB / 2.295 GB, free: 80.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/5.869, allocations: 0.6489 MB / 2.295 GB, free: 80.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005526/5.87, allocations: 41.08 kB / 2.296 GB, free: 80.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/5.873, allocations: 277.6 kB / 2.296 GB, free: 80.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/5.873, allocations: 112.2 kB / 2.296 GB, free: 80.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/5.873, allocations: 68.92 kB / 2.296 GB, free: 80.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002972/5.876, allocations: 1.823 MB / 2.298 GB, free: 80.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.6e-07/5.876, allocations: 0 / 2.298 GB, free: 80.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006474/5.883, allocations: 1.651 MB / 2.299 GB, free: 80.34 MB / 0.7448 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.003074/5.886, allocations: 1.487 MB / 2.301 GB, free: 80.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006381/5.892, allocations: 2.964 MB / 2.304 GB, free: 79.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/5.892, allocations: 6.125 kB / 2.304 GB, free: 79.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/5.894, allocations: 0.8717 MB / 2.305 GB, free: 79.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008637/5.903, allocations: 1.52 MB / 2.306 GB, free: 79.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/5.913, allocations: 3.878 MB / 2.31 GB, free: 78.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/5.915, allocations: 1.779 MB / 2.312 GB, free: 78.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004773/5.919, allocations: 0.841 MB / 2.312 GB, free: 78.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/5.92, allocations: 190 kB / 2.313 GB, free: 78.02 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/5.92, allocations: 0 / 2.313 GB, free: 78.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.1362/6.056, allocations: 81.93 MB / 2.393 GB, free: 73.75 MB / 0.7448 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)