Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.858/0.858, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001151/0.001151, allocations: 185 kB / 191.5 MB, free: 5.754 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.709/1.709, allocations: 223.2 MB / 447.7 MB, free: 6.477 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.001147/0.001147, allocations: 96.19 kB / 0.5188 GB, free: 2.832 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 271.8 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005143, allocations: 16 kB / 0.6929 GB, free: 2.285 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4635, allocations: 82.77 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9446/1.408, allocations: 380.4 MB / 1.145 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.409, allocations: 114.2 kB / 1.145 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.723/3.131, allocations: 420.3 MB / 1.556 GB, free: 169.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/3.131, allocations: 1.031 kB / 1.556 GB, free: 169.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001846/3.132, allocations: 49.17 kB / 1.556 GB, free: 169.2 MB / 0.698 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.006281/3.138, allocations: 2.219 MB / 1.558 GB, free: 167.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/3.138, allocations: 12.03 kB / 1.558 GB, free: 167.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/3.139, allocations: 231 kB / 1.558 GB, free: 167 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/3.144, allocations: 2.093 MB / 1.56 GB, free: 164.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/3.144, allocations: 114.7 kB / 1.56 GB, free: 164.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/3.144, allocations: 159.9 kB / 1.56 GB, free: 164.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/3.147, allocations: 1.879 MB / 1.562 GB, free: 162.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/3.147, allocations: 3.906 kB / 1.562 GB, free: 162.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/3.147, allocations: 60 kB / 1.562 GB, free: 162.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/3.147, allocations: 47.86 kB / 1.562 GB, free: 162.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/3.15, allocations: 1.687 MB / 1.564 GB, free: 160.9 MB / 0.698 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.01148/3.161, allocations: 7.532 MB / 1.571 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/3.163, allocations: 1.326 MB / 1.573 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006002/3.169, allocations: 3.761 MB / 1.576 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/3.169, allocations: 43.56 kB / 1.576 GB, free: 147.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=86): time 3.026e-06/3.169, allocations: 0 / 1.576 GB, free: 147.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=86): time 0.00222/3.171, allocations: 1.455 MB / 1.578 GB, free: 146.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/3.171, allocations: 60.41 kB / 1.578 GB, free: 146.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/3.173, allocations: 1.507 MB / 1.579 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.995e-05/3.173, allocations: 49.7 kB / 1.579 GB, free: 144.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/3.174, allocations: 0.7649 MB / 1.58 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/3.174, allocations: 307.5 kB / 1.58 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/3.174, allocations: 27.94 kB / 1.581 GB, free: 143.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001144/3.174, allocations: 365.9 kB / 1.581 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008175/3.175, allocations: 0.6636 MB / 1.581 GB, free: 142.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/3.176, allocations: 1.021 MB / 1.582 GB, free: 141.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/3.177, allocations: 0.8595 MB / 1.583 GB, free: 140.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/3.177, allocations: 7.562 kB / 1.583 GB, free: 140.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002647/3.18, allocations: 1.926 MB / 1.585 GB, free: 138.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007922/3.18, allocations: 3.518 MB / 1.589 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/3.18, allocations: 8 kB / 1.589 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/3.18, allocations: 16 kB / 1.589 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/3.182, allocations: 349.4 kB / 1.589 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/3.182, allocations: 23.92 kB / 1.589 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/3.183, allocations: 222.6 kB / 1.589 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/3.184, allocations: 67.92 kB / 1.589 GB, free: 134.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/3.184, allocations: 4 kB / 1.589 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/3.186, allocations: 1.768 MB / 1.591 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/3.186, allocations: 11.94 kB / 1.591 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/3.186, allocations: 16 kB / 1.591 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/3.187, allocations: 355.4 kB / 1.591 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/3.187, allocations: 23.92 kB / 1.591 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/3.188, allocations: 189 kB / 1.592 GB, free: 131.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/3.189, allocations: 63.08 kB / 1.592 GB, free: 131.9 MB / 0.698 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.001347/3.19, allocations: 0.7425 MB / 1.592 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/3.19, allocations: 150.1 kB / 1.593 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/3.192, allocations: 1.206 MB / 1.594 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/3.192, allocations: 8 kB / 1.594 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/3.192, allocations: 4 kB / 1.594 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/3.193, allocations: 1.26 MB / 1.595 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/3.198, allocations: 2.89 MB / 1.598 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/3.198, allocations: 4 kB / 1.598 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/3.198, allocations: 178.4 kB / 1.598 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/3.198, allocations: 4 kB / 1.598 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/3.198, allocations: 27.94 kB / 1.598 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/3.199, allocations: 4 kB / 1.598 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/3.199, allocations: 0 / 1.598 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/3.201, allocations: 1.908 MB / 1.6 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000987/3.202, allocations: 433.5 kB / 1.6 GB, free: 122.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/3.202, allocations: 16 kB / 1.6 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/3.203, allocations: 66.44 kB / 1.6 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/3.203, allocations: 52.92 kB / 1.6 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/3.203, allocations: 41.94 kB / 1.6 GB, free: 122.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001702/3.205, allocations: 1.245 MB / 1.602 GB, free: 121.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/3.205, allocations: 0 / 1.602 GB, free: 121.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002918/3.208, allocations: 0.9668 MB / 1.603 GB, free: 120.5 MB / 0.698 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.001197/3.209, allocations: 0.497 MB / 1.603 GB, free: 120 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003228/3.212, allocations: 2.305 MB / 1.605 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/3.212, allocations: 0 / 1.605 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005955/3.213, allocations: 0.5014 MB / 1.606 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/3.217, allocations: 0.8348 MB / 1.607 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/3.223, allocations: 4.275 MB / 1.611 GB, free: 112.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/3.225, allocations: 1.692 MB / 1.612 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003465/3.228, allocations: 0.9144 MB / 1.613 GB, free: 109.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/3.229, allocations: 147.3 kB / 1.613 GB, free: 109.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.485e-06/3.229, allocations: 0 / 1.613 GB, free: 109.4 MB / 0.698 GB Notification: Performance of Templates: time 0.05288/3.282, allocations: 34.6 MB / 1.647 GB, free: 75.46 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)