Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 180.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5194/0.5194, allocations: 92 MB / 108.5 MB, free: 13.06 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.477/1.477, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.0009384, allocations: 100.2 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 12 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 72.31 MB / 0.5689 GB, free: 1.941 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.17, allocations: 373.3 MB / 0.9334 GB, free: 93.61 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.17, allocations: 101 kB / 0.9335 GB, free: 93.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.47/2.64, allocations: 424 MB / 1.348 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/2.64, allocations: 2.25 kB / 1.348 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001919/2.64, allocations: 49.95 kB / 1.348 GB, free: 147.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005637/2.646, allocations: 2.24 MB / 1.35 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/2.646, allocations: 11.44 kB / 1.35 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/2.647, allocations: 223.5 kB / 1.35 GB, free: 146 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/2.651, allocations: 2.137 MB / 1.352 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/2.652, allocations: 111.1 kB / 1.352 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/2.652, allocations: 156.1 kB / 1.352 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/2.655, allocations: 1.883 MB / 1.354 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/2.655, allocations: 5.906 kB / 1.354 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/2.655, allocations: 59.2 kB / 1.354 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/2.655, allocations: 41.42 kB / 1.354 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/2.657, allocations: 1.688 MB / 1.356 GB, free: 144.9 MB / 0.6042 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.01085/2.668, allocations: 7.539 MB / 1.363 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/2.67, allocations: 1.326 MB / 1.365 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006053/2.676, allocations: 3.759 MB / 1.368 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/2.676, allocations: 45.88 kB / 1.368 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 2.965e-06/2.676, allocations: 3.469 kB / 1.368 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.002086/2.678, allocations: 1.453 MB / 1.37 GB, free: 137.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/2.678, allocations: 67.8 kB / 1.37 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/2.68, allocations: 1.521 MB / 1.371 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/2.68, allocations: 52.7 kB / 1.371 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/2.68, allocations: 0.7729 MB / 1.372 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/2.681, allocations: 304.9 kB / 1.372 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/2.681, allocations: 28.94 kB / 1.372 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/2.681, allocations: 368.7 kB / 1.373 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/2.682, allocations: 0.6633 MB / 1.373 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009635/2.683, allocations: 1.011 MB / 1.374 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000977/2.684, allocations: 0.8629 MB / 1.375 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/2.684, allocations: 3.812 kB / 1.375 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002648/2.686, allocations: 1.927 MB / 1.377 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006895/2.687, allocations: 3.522 MB / 1.381 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/2.687, allocations: 7.5 kB / 1.381 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/2.687, allocations: 19.22 kB / 1.381 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/2.688, allocations: 349.3 kB / 1.381 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/2.688, allocations: 23.58 kB / 1.381 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/2.69, allocations: 227.1 kB / 1.381 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/2.69, allocations: 66.3 kB / 1.381 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.69, allocations: 7.938 kB / 1.381 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002252/2.692, allocations: 1.766 MB / 1.383 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/2.692, allocations: 11.16 kB / 1.383 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/2.692, allocations: 22.42 kB / 1.383 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/2.693, allocations: 347.9 kB / 1.383 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/2.693, allocations: 20.75 kB / 1.383 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/2.695, allocations: 196.5 kB / 1.384 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/2.695, allocations: 61.48 kB / 1.384 GB, free: 128.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001254/2.696, allocations: 0.7507 MB / 1.384 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/2.697, allocations: 156.7 kB / 1.385 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/2.698, allocations: 1.215 MB / 1.386 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/2.698, allocations: 7.156 kB / 1.386 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.698, allocations: 3.984 kB / 1.386 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/2.699, allocations: 1.254 MB / 1.387 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/2.703, allocations: 2.889 MB / 1.39 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.703, allocations: 0 / 1.39 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/2.704, allocations: 187.6 kB / 1.39 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/2.704, allocations: 4 kB / 1.39 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/2.704, allocations: 20 kB / 1.39 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/2.704, allocations: 7.984 kB / 1.39 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.704, allocations: 4 kB / 1.39 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/2.706, allocations: 1.909 MB / 1.392 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009357/2.707, allocations: 423.3 kB / 1.392 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/2.708, allocations: 23.98 kB / 1.392 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/2.708, allocations: 75.73 kB / 1.392 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/2.708, allocations: 54.14 kB / 1.392 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/2.709, allocations: 38.86 kB / 1.392 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001534/2.71, allocations: 1.261 MB / 1.394 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.71, allocations: 4 kB / 1.394 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00258/2.713, allocations: 0.9552 MB / 1.395 GB, free: 119.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009407/2.714, allocations: 0.4981 MB / 1.395 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002873/2.716, allocations: 2.298 MB / 1.397 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/2.717, allocations: 7.938 kB / 1.397 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005374/2.717, allocations: 0.5014 MB / 1.398 GB, free: 116 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/2.721, allocations: 0.8412 MB / 1.399 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/2.725, allocations: 4.306 MB / 1.403 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/2.726, allocations: 1.709 MB / 1.405 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002783/2.729, allocations: 0.9229 MB / 1.405 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/2.73, allocations: 139.4 kB / 1.406 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/2.73, allocations: 0 / 1.406 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.05354/2.783, allocations: 34.62 MB / 1.439 GB, free: 74.27 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)