Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.629/2.629, allocations: 287.3 MB / 302.3 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001573, allocations: 187.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 99.62 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006487/0.0006489, allocations: 11.39 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2176, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.525, allocations: 409 MB / 1.378 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/1.525, allocations: 105.1 kB / 1.378 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.724/4.249, allocations: 413 MB / 1.781 GB, free: 246.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.936e-06/4.249, allocations: 3.5 kB / 1.781 GB, free: 246.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003338/4.25, allocations: 46.72 kB / 1.781 GB, free: 246.3 MB / 0.948 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.01005/4.26, allocations: 2.227 MB / 1.783 GB, free: 245.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/4.26, allocations: 9.344 kB / 1.783 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009533/4.261, allocations: 212.2 kB / 1.784 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/4.262, allocations: 222.6 kB / 1.784 GB, free: 245.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007855/4.27, allocations: 2.087 MB / 1.786 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/4.27, allocations: 114.5 kB / 1.786 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006807/4.271, allocations: 152.1 kB / 1.786 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00593/4.277, allocations: 1.885 MB / 1.788 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.362e-05/4.277, allocations: 3.578 kB / 1.788 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/4.277, allocations: 57.94 kB / 1.788 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/4.278, allocations: 45.86 kB / 1.788 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005529/4.283, allocations: 1.69 MB / 1.79 GB, free: 245.1 MB / 0.948 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.02132/4.304, allocations: 7.533 MB / 1.797 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/4.308, allocations: 1.331 MB / 1.798 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01486/4.323, allocations: 3.752 MB / 1.802 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/4.323, allocations: 46.97 kB / 1.802 GB, free: 240.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 5.19e-06/4.323, allocations: 2.062 kB / 1.802 GB, free: 240.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.005792/4.329, allocations: 1.452 MB / 1.803 GB, free: 240.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/4.329, allocations: 63.25 kB / 1.804 GB, free: 240.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/4.333, allocations: 1.511 MB / 1.805 GB, free: 240.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003529/4.333, allocations: 48.67 kB / 1.805 GB, free: 240.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/4.334, allocations: 0.7664 MB / 1.806 GB, free: 240.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/4.335, allocations: 307.6 kB / 1.806 GB, free: 240.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/4.335, allocations: 32.66 kB / 1.806 GB, free: 240.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001374/4.335, allocations: 365 kB / 1.806 GB, free: 239.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/4.337, allocations: 0.6658 MB / 1.807 GB, free: 239.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/4.339, allocations: 1.012 MB / 1.808 GB, free: 239.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/4.342, allocations: 0.8624 MB / 1.809 GB, free: 239.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/4.342, allocations: 2 kB / 1.809 GB, free: 239.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007124/4.349, allocations: 1.926 MB / 1.811 GB, free: 239.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007435/4.35, allocations: 3.525 MB / 1.814 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/4.35, allocations: 7.406 kB / 1.814 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.995e-05/4.35, allocations: 18.25 kB / 1.814 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/4.353, allocations: 348.4 kB / 1.815 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.694e-05/4.353, allocations: 23.73 kB / 1.815 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/4.356, allocations: 224.5 kB / 1.815 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/4.356, allocations: 61.28 kB / 1.815 GB, free: 235.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/4.356, allocations: 2.906 kB / 1.815 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004874/4.361, allocations: 1.771 MB / 1.817 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/4.361, allocations: 8.875 kB / 1.817 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/4.361, allocations: 24.14 kB / 1.817 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/4.364, allocations: 347.5 kB / 1.817 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-05/4.364, allocations: 22.75 kB / 1.817 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/4.367, allocations: 192.2 kB / 1.817 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/4.368, allocations: 60.73 kB / 1.817 GB, free: 235.4 MB / 0.948 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.002376/4.37, allocations: 0.7507 MB / 1.818 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007912/4.371, allocations: 145.9 kB / 1.818 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/4.375, allocations: 1.214 MB / 1.819 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/4.375, allocations: 9.484 kB / 1.819 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/4.375, allocations: 3.594 kB / 1.819 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002996/4.378, allocations: 1.254 MB / 1.821 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009038/4.387, allocations: 2.886 MB / 1.823 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/4.387, allocations: 0 / 1.823 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/4.389, allocations: 178.8 kB / 1.824 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/4.389, allocations: 3.25 kB / 1.824 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/4.389, allocations: 23.36 kB / 1.824 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/4.389, allocations: 7.984 kB / 1.824 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/4.389, allocations: 4.375 kB / 1.824 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/4.394, allocations: 1.911 MB / 1.826 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/4.395, allocations: 421.8 kB / 1.826 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/4.396, allocations: 24.81 kB / 1.826 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/4.397, allocations: 69.64 kB / 1.826 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/4.398, allocations: 64.55 kB / 1.826 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/4.398, allocations: 39.27 kB / 1.826 GB, free: 233.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003051/4.401, allocations: 1.244 MB / 1.827 GB, free: 233.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.032e-06/4.401, allocations: 1.031 kB / 1.827 GB, free: 233.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004613/4.406, allocations: 0.9603 MB / 1.828 GB, free: 233.5 MB / 0.948 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.00593/4.412, allocations: 3.045 MB / 1.831 GB, free: 232.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005868/4.417, allocations: 2.296 MB / 1.833 GB, free: 232.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/4.417, allocations: 1.406 kB / 1.833 GB, free: 232.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/4.419, allocations: 0.5069 MB / 1.834 GB, free: 232.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006878/4.426, allocations: 0.8501 MB / 1.835 GB, free: 232.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/4.439, allocations: 11.5 MB / 1.846 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/4.441, allocations: 1.686 MB / 1.848 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004584/4.445, allocations: 0.9111 MB / 1.849 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/4.447, allocations: 0.6199 MB / 1.849 GB, free: 223.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/4.447, allocations: 0 / 1.849 GB, free: 223.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/4.606, allocations: 50.6 MB / 1.899 GB, free: 221.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/4.606, allocations: 242.2 kB / 1.899 GB, free: 221.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.419/9.025, allocations: 0 / 1.899 GB, free: 221.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)