Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7208/0.7208, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 180.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 88.42 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.918e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 76.76 MB / 0.6282 GB, free: 10 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.316, allocations: 370 MB / 0.9895 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.316, allocations: 95.94 kB / 0.9895 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.151/2.467, allocations: 397.8 MB / 1.378 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/2.467, allocations: 0 / 1.378 GB, free: 12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001534/2.467, allocations: 47.98 kB / 1.378 GB, free: 11.95 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003659/2.471, allocations: 1.916 MB / 1.38 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/2.471, allocations: 8.031 kB / 1.38 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006773/2.472, allocations: 217.5 kB / 1.38 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/2.476, allocations: 2.274 MB / 1.382 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/2.476, allocations: 111.4 kB / 1.383 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/2.476, allocations: 156 kB / 1.383 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/2.479, allocations: 1.85 MB / 1.384 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/2.479, allocations: 11.8 kB / 1.384 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/2.479, allocations: 60 kB / 1.385 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/2.479, allocations: 36 kB / 1.385 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/2.481, allocations: 1.677 MB / 1.386 GB, free: 3.469 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.4647/2.946, allocations: 7.572 MB / 1.394 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/2.948, allocations: 1.272 MB / 1.395 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/2.949, allocations: 0.602 MB / 1.395 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007093/2.956, allocations: 3.775 MB / 1.399 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/2.956, allocations: 42.66 kB / 1.399 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 4.018e-06/2.956, allocations: 0 / 1.399 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.002251/2.959, allocations: 1.044 MB / 1.4 GB, free: 111 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/2.959, allocations: 61.05 kB / 1.4 GB, free: 111 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/2.961, allocations: 1.489 MB / 1.402 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/2.961, allocations: 44.36 kB / 1.402 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/2.962, allocations: 0.7702 MB / 1.402 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/2.962, allocations: 299.9 kB / 1.403 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/2.962, allocations: 28.34 kB / 1.403 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001252/2.962, allocations: 371.8 kB / 1.403 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/2.963, allocations: 0.6528 MB / 1.404 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/2.965, allocations: 1.012 MB / 1.405 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/2.966, allocations: 0.8497 MB / 1.406 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/2.966, allocations: 3.531 kB / 1.406 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003824/2.97, allocations: 1.899 MB / 1.407 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009533/2.971, allocations: 3.787 MB / 1.411 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/2.971, allocations: 12.72 kB / 1.411 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.843e-05/2.971, allocations: 23.67 kB / 1.411 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/2.973, allocations: 355.3 kB / 1.412 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/2.973, allocations: 20.89 kB / 1.412 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/2.975, allocations: 231.7 kB / 1.412 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/2.975, allocations: 63.36 kB / 1.412 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/2.975, allocations: 3.875 kB / 1.412 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003189/2.978, allocations: 1.74 MB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/2.978, allocations: 9.625 kB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/2.978, allocations: 18.94 kB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/2.98, allocations: 348.4 kB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-05/2.98, allocations: 22.69 kB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/2.981, allocations: 191.5 kB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/2.981, allocations: 62.58 kB / 1.414 GB, free: 105.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * 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.0003894/2.982, allocations: 183.7 kB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/2.982, allocations: 144.5 kB / 1.414 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/2.985, allocations: 1.195 MB / 1.416 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/2.985, allocations: 8.438 kB / 1.416 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/2.985, allocations: 5.875 kB / 1.416 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001482/2.986, allocations: 1.165 MB / 1.417 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/2.989, allocations: 1.436 MB / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/2.989, allocations: 0 / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/2.99, allocations: 168.1 kB / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/2.99, allocations: 3.031 kB / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/2.99, allocations: 21 kB / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/2.99, allocations: 6.125 kB / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/2.99, allocations: 3.938 kB / 1.418 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/2.992, allocations: 1.618 MB / 1.42 GB, free: 104.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/2.993, allocations: 417.3 kB / 1.42 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/2.993, allocations: 25.53 kB / 1.42 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/2.994, allocations: 62.34 kB / 1.42 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/2.994, allocations: 49.53 kB / 1.421 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/2.994, allocations: 23.8 kB / 1.421 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002001/2.996, allocations: 1.263 MB / 1.422 GB, free: 104 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/2.996, allocations: 0 / 1.422 GB, free: 104 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003229/3, allocations: 0.9383 MB / 1.423 GB, free: 104 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 81 * 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 Backend phase and start with SimCode phase: time 0.001108/3.001, allocations: 498.1 kB / 1.423 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003648/3.004, allocations: 2.263 MB / 1.425 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/3.004, allocations: 0 / 1.425 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005164/3.005, allocations: 468.3 kB / 1.426 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/3.009, allocations: 0.8267 MB / 1.427 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/3.014, allocations: 3.001 MB / 1.43 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009886/3.015, allocations: 1.689 MB / 1.431 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003378/3.018, allocations: 1.262 MB / 1.432 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/3.018, allocations: 109.8 kB / 1.433 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/3.018, allocations: 0 / 1.433 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.05243/3.071, allocations: 36.46 MB / 1.468 GB, free: 101.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)