Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001221/0.001221, allocations: 183.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.00104/0.00104, allocations: 89.09 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004433, allocations: 10.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2345, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.254, allocations: 409.2 MB / 1.379 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.255, allocations: 105.7 kB / 1.379 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.026/3.281, allocations: 413 MB / 1.783 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.735e-06/3.281, allocations: 0 / 1.783 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003855/3.281, allocations: 46.58 kB / 1.783 GB, free: 232.9 MB / 0.9323 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.008538/3.29, allocations: 2.227 MB / 1.785 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/3.29, allocations: 8.25 kB / 1.785 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007443/3.291, allocations: 213.8 kB / 1.785 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/3.292, allocations: 222.6 kB / 1.785 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005923/3.298, allocations: 2.09 MB / 1.787 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/3.298, allocations: 115.2 kB / 1.787 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/3.298, allocations: 149.8 kB / 1.787 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004513/3.303, allocations: 1.884 MB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/3.303, allocations: 7.422 kB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/3.303, allocations: 58 kB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.074e-05/3.303, allocations: 37.3 kB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/3.307, allocations: 1.692 MB / 1.791 GB, free: 231.7 MB / 0.9323 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.01593/3.323, allocations: 7.536 MB / 1.798 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/3.325, allocations: 1.328 MB / 1.8 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008326/3.334, allocations: 3.76 MB / 1.803 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/3.334, allocations: 46.42 kB / 1.803 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.927e-06/3.334, allocations: 0 / 1.803 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.003637/3.338, allocations: 1.458 MB / 1.805 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/3.338, allocations: 60.16 kB / 1.805 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/3.34, allocations: 1.511 MB / 1.806 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/3.341, allocations: 44.98 kB / 1.806 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/3.341, allocations: 0.7663 MB / 1.807 GB, free: 226.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/3.342, allocations: 305.4 kB / 1.807 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/3.342, allocations: 27.34 kB / 1.808 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001662/3.342, allocations: 367.6 kB / 1.808 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/3.343, allocations: 0.6749 MB / 1.809 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/3.344, allocations: 1.006 MB / 1.809 GB, free: 226 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/3.346, allocations: 0.8596 MB / 1.81 GB, free: 226 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/3.346, allocations: 3.547 kB / 1.81 GB, free: 226 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004146/3.35, allocations: 1.922 MB / 1.812 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009388/3.351, allocations: 3.526 MB / 1.816 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/3.351, allocations: 10.31 kB / 1.816 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-05/3.351, allocations: 17.66 kB / 1.816 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/3.353, allocations: 350 kB / 1.816 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-05/3.353, allocations: 22.27 kB / 1.816 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/3.355, allocations: 227 kB / 1.816 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/3.356, allocations: 63.89 kB / 1.816 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/3.356, allocations: 3.625 kB / 1.816 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003501/3.359, allocations: 1.771 MB / 1.818 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/3.359, allocations: 12.09 kB / 1.818 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/3.359, allocations: 18.45 kB / 1.818 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/3.36, allocations: 350.1 kB / 1.818 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/3.36, allocations: 23.45 kB / 1.818 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/3.362, allocations: 192.6 kB / 1.819 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/3.363, allocations: 60.22 kB / 1.819 GB, free: 222.1 MB / 0.9323 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.001619/3.364, allocations: 0.7545 MB / 1.819 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000617/3.365, allocations: 145.7 kB / 1.82 GB, free: 221.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/3.367, allocations: 1.217 MB / 1.821 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/3.367, allocations: 7.969 kB / 1.821 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.367, allocations: 0 / 1.821 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/3.369, allocations: 1.255 MB / 1.822 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/3.374, allocations: 2.883 MB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/3.374, allocations: 1.156 kB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/3.375, allocations: 181.8 kB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/3.375, allocations: 3.438 kB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/3.375, allocations: 25.92 kB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/3.375, allocations: 6.781 kB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.375, allocations: 1.219 kB / 1.825 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/3.378, allocations: 1.907 MB / 1.827 GB, free: 220.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/3.38, allocations: 422.1 kB / 1.827 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/3.38, allocations: 28.98 kB / 1.827 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009546/3.381, allocations: 67.5 kB / 1.827 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/3.381, allocations: 55.98 kB / 1.827 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/3.381, allocations: 34.28 kB / 1.827 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002271/3.384, allocations: 1.247 MB / 1.829 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.3e-07/3.384, allocations: 1.031 kB / 1.829 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004369/3.388, allocations: 0.9641 MB / 1.83 GB, free: 220.1 MB / 0.9323 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.004737/3.393, allocations: 3.028 MB / 1.833 GB, free: 219 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004384/3.397, allocations: 2.295 MB / 1.835 GB, free: 219 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/3.397, allocations: 5.312 kB / 1.835 GB, free: 219 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/3.398, allocations: 0.5089 MB / 1.835 GB, free: 219 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004973/3.403, allocations: 0.8482 MB / 1.836 GB, free: 219 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/3.414, allocations: 11.5 MB / 1.847 GB, free: 210.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/3.415, allocations: 1.689 MB / 1.849 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003296/3.419, allocations: 0.9109 MB / 1.85 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/3.42, allocations: 0.6212 MB / 1.851 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.573e-06/3.42, allocations: 0 / 1.851 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/3.505, allocations: 50.62 MB / 1.9 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/3.505, allocations: 249.9 kB / 1.9 GB, free: 208 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/7.288, allocations: 0 / 1.9 GB, free: 208 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)