Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001456/0.001456, allocations: 188.3 kB / 377.1 MB, free: 1.523 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.767/1.767, allocations: 205.4 MB / 0.6366 GB, free: 8.559 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 93.23 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.42/1.649, allocations: 410.2 MB / 1.389 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.649, allocations: 101.6 kB / 1.389 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.243/2.892, allocations: 413 MB / 1.792 GB, free: 221.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/2.892, allocations: 0 / 1.792 GB, free: 221.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002679/2.893, allocations: 56.17 kB / 1.792 GB, free: 221.4 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.007589/2.9, allocations: 2.223 MB / 1.795 GB, free: 220.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/2.9, allocations: 7.25 kB / 1.795 GB, free: 220.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008222/2.901, allocations: 217.5 kB / 1.795 GB, free: 220.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/2.903, allocations: 222.5 kB / 1.795 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005605/2.908, allocations: 2.094 MB / 1.797 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/2.908, allocations: 111.6 kB / 1.797 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/2.909, allocations: 153.6 kB / 1.797 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/2.913, allocations: 1.881 MB / 1.799 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.516e-05/2.913, allocations: 6.375 kB / 1.799 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/2.914, allocations: 60.89 kB / 1.799 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/2.914, allocations: 39.5 kB / 1.799 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/2.917, allocations: 1.692 MB / 1.801 GB, free: 219.9 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.01306/2.93, allocations: 7.538 MB / 1.808 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/2.931, allocations: 1.328 MB / 1.81 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00621/2.938, allocations: 3.752 MB / 1.813 GB, free: 215.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/2.938, allocations: 45.25 kB / 1.813 GB, free: 215.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 2.996e-06/2.938, allocations: 3.875 kB / 1.813 GB, free: 215.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.002445/2.94, allocations: 1.455 MB / 1.815 GB, free: 215.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/2.94, allocations: 61.62 kB / 1.815 GB, free: 215.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/2.943, allocations: 1.504 MB / 1.816 GB, free: 215.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/2.943, allocations: 50.23 kB / 1.816 GB, free: 215.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/2.944, allocations: 0.7639 MB / 1.817 GB, free: 214.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/2.944, allocations: 303.2 kB / 1.817 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/2.944, allocations: 31.25 kB / 1.817 GB, free: 214.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/2.944, allocations: 369 kB / 1.818 GB, free: 214.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/2.945, allocations: 0.67 MB / 1.818 GB, free: 214.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/2.947, allocations: 1.014 MB / 1.819 GB, free: 213.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/2.948, allocations: 0.8617 MB / 1.82 GB, free: 213.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/2.948, allocations: 3.188 kB / 1.82 GB, free: 213.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003254/2.951, allocations: 1.919 MB / 1.822 GB, free: 213.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007875/2.952, allocations: 3.522 MB / 1.826 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/2.952, allocations: 12.16 kB / 1.826 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.331e-05/2.952, allocations: 18.84 kB / 1.826 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/2.954, allocations: 345.8 kB / 1.826 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-05/2.954, allocations: 23.8 kB / 1.826 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/2.955, allocations: 226.5 kB / 1.826 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/2.956, allocations: 67.55 kB / 1.826 GB, free: 210.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/2.956, allocations: 3.094 kB / 1.826 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002564/2.958, allocations: 1.766 MB / 1.828 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/2.958, allocations: 9.156 kB / 1.828 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/2.958, allocations: 18.84 kB / 1.828 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/2.959, allocations: 355.2 kB / 1.828 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/2.959, allocations: 21.8 kB / 1.828 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/2.961, allocations: 195 kB / 1.829 GB, free: 209.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/2.961, allocations: 58.12 kB / 1.829 GB, free: 209.5 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.00123/2.962, allocations: 0.7465 MB / 1.829 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/2.963, allocations: 150.3 kB / 1.829 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/2.964, allocations: 1.214 MB / 1.831 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/2.964, allocations: 12.95 kB / 1.831 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/2.964, allocations: 2.812 kB / 1.831 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/2.966, allocations: 1.26 MB / 1.832 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/2.971, allocations: 2.874 MB / 1.835 GB, free: 206.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/2.971, allocations: 1.5 kB / 1.835 GB, free: 206.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/2.972, allocations: 181.7 kB / 1.835 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/2.972, allocations: 4.891 kB / 1.835 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/2.972, allocations: 27.75 kB / 1.835 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/2.972, allocations: 5.016 kB / 1.835 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.972, allocations: 2.375 kB / 1.835 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/2.975, allocations: 1.909 MB / 1.837 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/2.976, allocations: 428 kB / 1.837 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/2.976, allocations: 23.75 kB / 1.837 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/2.978, allocations: 71.92 kB / 1.837 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/2.978, allocations: 48.8 kB / 1.837 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/2.978, allocations: 41.59 kB / 1.837 GB, free: 205.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002874/2.981, allocations: 1.249 MB / 1.839 GB, free: 204.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/2.981, allocations: 0 / 1.839 GB, free: 204.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003993/2.985, allocations: 0.9598 MB / 1.839 GB, free: 204.7 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.003863/2.989, allocations: 3.05 MB / 1.842 GB, free: 203 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004388/2.993, allocations: 2.298 MB / 1.845 GB, free: 202.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/2.993, allocations: 2.062 kB / 1.845 GB, free: 202.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/2.994, allocations: 0.5051 MB / 1.845 GB, free: 202.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/2.998, allocations: 0.8472 MB / 1.846 GB, free: 202.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/3.009, allocations: 11.51 MB / 1.857 GB, free: 193.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/3.01, allocations: 1.688 MB / 1.859 GB, free: 192.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003573/3.014, allocations: 0.9012 MB / 1.86 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/3.015, allocations: 0.6157 MB / 1.86 GB, free: 191.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/3.015, allocations: 0 / 1.86 GB, free: 191.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/3.092, allocations: 50.63 MB / 1.91 GB, free: 183.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/3.092, allocations: 246.4 kB / 1.91 GB, free: 183.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.515/6.608, allocations: 0 / 1.91 GB, free: 183.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)