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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8303/0.8303, allocations: 140.1 MB / 156 MB, free: 5.164 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.001111/0.001111, allocations: 179.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000853/0.0008531, allocations: 94.28 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001764/0.001765, allocations: 279.3 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007172/0.0007174, allocations: 23.98 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5053, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8651/1.37, allocations: 378.4 MB / 1.109 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.371, allocations: 97.62 kB / 1.109 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.78/3.151, allocations: 410.7 MB / 1.51 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.004e-06/3.151, allocations: 0 / 1.51 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002808/3.151, allocations: 54.69 kB / 1.51 GB, free: 156.8 MB / 0.6667 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.00701/3.158, allocations: 2.206 MB / 1.512 GB, free: 154.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/3.158, allocations: 12.03 kB / 1.512 GB, free: 154.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/3.159, allocations: 220.9 kB / 1.513 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00477/3.164, allocations: 2.041 MB / 1.515 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/3.164, allocations: 118.8 kB / 1.515 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/3.165, allocations: 152.3 kB / 1.515 GB, free: 152 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/3.168, allocations: 1.895 MB / 1.517 GB, free: 150 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/3.169, allocations: 7.938 kB / 1.517 GB, free: 150 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/3.169, allocations: 56 kB / 1.517 GB, free: 150 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/3.169, allocations: 39.98 kB / 1.517 GB, free: 149.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/3.172, allocations: 1.689 MB / 1.518 GB, free: 148.2 MB / 0.6667 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.01093/3.183, allocations: 7.467 MB / 1.526 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/3.184, allocations: 1.325 MB / 1.527 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/3.185, allocations: 0.6335 MB / 1.528 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005671/3.191, allocations: 3.728 MB / 1.531 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/3.191, allocations: 47.55 kB / 1.531 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 2.555e-06/3.191, allocations: 0 / 1.531 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86): time 0.002274/3.193, allocations: 1.455 MB / 1.533 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/3.193, allocations: 64.34 kB / 1.533 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/3.195, allocations: 1.578 MB / 1.534 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/3.196, allocations: 51.89 kB / 1.534 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/3.196, allocations: 0.7637 MB / 1.535 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/3.197, allocations: 306.5 kB / 1.535 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/3.197, allocations: 24 kB / 1.535 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001191/3.197, allocations: 376.6 kB / 1.536 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008985/3.198, allocations: 0.6636 MB / 1.536 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/3.199, allocations: 1.013 MB / 1.537 GB, free: 128.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/3.201, allocations: 1.598 MB / 1.539 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/3.201, allocations: 0 / 1.539 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002816/3.203, allocations: 1.923 MB / 1.541 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000218/3.204, allocations: 353.9 kB / 1.541 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/3.204, allocations: 11.25 kB / 1.541 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/3.204, allocations: 16 kB / 1.541 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/3.205, allocations: 339.5 kB / 1.542 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.725e-05/3.205, allocations: 23.12 kB / 1.542 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/3.206, allocations: 224.9 kB / 1.542 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/3.207, allocations: 63.98 kB / 1.542 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/3.207, allocations: 4 kB / 1.542 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002341/3.209, allocations: 1.774 MB / 1.544 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/3.209, allocations: 8 kB / 1.544 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/3.209, allocations: 16 kB / 1.544 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/3.21, allocations: 343.4 kB / 1.544 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/3.21, allocations: 23.09 kB / 1.544 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/3.212, allocations: 185.4 kB / 1.544 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/3.212, allocations: 59.98 kB / 1.544 GB, free: 121 MB / 0.6667 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.001296/3.213, allocations: 0.754 MB / 1.545 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/3.213, allocations: 150.1 kB / 1.545 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/3.215, allocations: 1.213 MB / 1.546 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/3.215, allocations: 8 kB / 1.546 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/3.215, allocations: 4 kB / 1.546 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/3.217, allocations: 1.253 MB / 1.548 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/3.222, allocations: 2.861 MB / 1.55 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.222, allocations: 4 kB / 1.55 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/3.222, allocations: 187.9 kB / 1.551 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/3.222, allocations: 4 kB / 1.551 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/3.223, allocations: 23.98 kB / 1.551 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/3.223, allocations: 4 kB / 1.551 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/3.223, allocations: 0 / 1.551 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/3.225, allocations: 1.864 MB / 1.552 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008796/3.226, allocations: 414.6 kB / 1.553 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/3.226, allocations: 23.42 kB / 1.553 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/3.227, allocations: 71.78 kB / 1.553 GB, free: 112 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/3.227, allocations: 56.86 kB / 1.553 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/3.227, allocations: 31.98 kB / 1.553 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00163/3.229, allocations: 1.175 MB / 1.554 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/3.229, allocations: 0 / 1.554 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003128/3.232, allocations: 0.9474 MB / 1.555 GB, free: 109.8 MB / 0.6667 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.001204/3.233, allocations: 0.489 MB / 1.555 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003281/3.237, allocations: 2.29 MB / 1.558 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/3.237, allocations: 0 / 1.558 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005838/3.237, allocations: 0.5098 MB / 1.558 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/3.241, allocations: 0.8531 MB / 1.559 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/3.247, allocations: 4.295 MB / 1.563 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/3.249, allocations: 1.653 MB / 1.565 GB, free: 99.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003082/3.252, allocations: 0.9119 MB / 1.566 GB, free: 98.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/3.252, allocations: 139.3 kB / 1.566 GB, free: 98.74 MB / 0.6667 GB Notification: Performance of SimCode: time 1.784e-06/3.252, allocations: 2.531 kB / 1.566 GB, free: 98.74 MB / 0.6667 GB Notification: Performance of Templates: time 0.05305/3.305, allocations: 34.68 MB / 1.6 GB, free: 64.54 MB / 0.6667 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)