Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 179.5 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 90.47 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.703e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.555/1.777, allocations: 401.8 MB / 1.278 GB, free: 263.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.777, allocations: 99.08 kB / 1.278 GB, free: 263.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.286/3.063, allocations: 398.9 MB / 1.667 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.144e-06/3.063, allocations: 0 / 1.667 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001529/3.064, allocations: 48.98 kB / 1.667 GB, free: 234.9 MB / 0.8698 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.00384/3.067, allocations: 1.926 MB / 1.669 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/3.067, allocations: 8.156 kB / 1.669 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/3.068, allocations: 221 kB / 1.669 GB, free: 234 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/3.072, allocations: 2.061 MB / 1.671 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/3.072, allocations: 45.34 kB / 1.672 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/3.072, allocations: 87.69 kB / 1.672 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002133/3.074, allocations: 1.576 MB / 1.673 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/3.076, allocations: 1.639 MB / 1.675 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/3.076, allocations: 3.906 kB / 1.675 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/3.076, allocations: 3.625 kB / 1.675 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/3.076, allocations: 42.91 kB / 1.675 GB, free: 233.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.009491/3.086, allocations: 7.214 MB / 1.682 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/3.087, allocations: 1.255 MB / 1.683 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/3.088, allocations: 0.6033 MB / 1.684 GB, free: 230 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005375/3.093, allocations: 3.732 MB / 1.687 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/3.093, allocations: 50.8 kB / 1.687 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 2.825e-06/3.093, allocations: 0 / 1.687 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.00217/3.096, allocations: 1.112 MB / 1.688 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/3.096, allocations: 60.03 kB / 1.688 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/3.097, allocations: 1.227 MB / 1.69 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/3.097, allocations: 25.7 kB / 1.69 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/3.098, allocations: 0.7698 MB / 1.69 GB, free: 226 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/3.098, allocations: 292.5 kB / 1.691 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/3.098, allocations: 0 / 1.691 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/3.098, allocations: 366.7 kB / 1.691 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/3.099, allocations: 0.6321 MB / 1.692 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/3.1, allocations: 0.9701 MB / 1.693 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/3.102, allocations: 1.18 MB / 1.694 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/3.102, allocations: 2.969 kB / 1.694 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003829/3.106, allocations: 2.125 MB / 1.696 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006479/3.107, allocations: 3.494 MB / 1.699 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/3.107, allocations: 7.281 kB / 1.699 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/3.107, allocations: 18.25 kB / 1.699 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/3.108, allocations: 347.8 kB / 1.7 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/3.108, allocations: 28 kB / 1.7 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/3.109, allocations: 169.7 kB / 1.7 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/3.109, allocations: 67.44 kB / 1.7 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/3.109, allocations: 3.844 kB / 1.7 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003408/3.113, allocations: 1.957 MB / 1.702 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/3.113, allocations: 10.84 kB / 1.702 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/3.113, allocations: 19.69 kB / 1.702 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/3.114, allocations: 349.9 kB / 1.702 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/3.114, allocations: 20.09 kB / 1.702 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/3.115, allocations: 137.9 kB / 1.702 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/3.115, allocations: 61.09 kB / 1.702 GB, free: 219.3 MB / 0.8698 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 () * 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.0002921/3.116, allocations: 140.9 kB / 1.703 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001909/3.118, allocations: 1.102 MB / 1.704 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/3.118, allocations: 130.3 kB / 1.704 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/3.12, allocations: 1.234 MB / 1.705 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/3.12, allocations: 14.3 kB / 1.705 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/3.12, allocations: 3.688 kB / 1.705 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/3.122, allocations: 1.314 MB / 1.706 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/3.126, allocations: 2.71 MB / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/3.126, allocations: 0 / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/3.126, allocations: 183.9 kB / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/3.126, allocations: 7.922 kB / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/3.126, allocations: 15.45 kB / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/3.126, allocations: 10.06 kB / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/3.126, allocations: 1.594 kB / 1.709 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/3.129, allocations: 1.905 MB / 1.711 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/3.13, allocations: 385.3 kB / 1.711 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/3.13, allocations: 11.7 kB / 1.711 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/3.13, allocations: 44.09 kB / 1.711 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/3.13, allocations: 45.75 kB / 1.711 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/3.131, allocations: 37.08 kB / 1.711 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001136/3.132, allocations: 0.942 MB / 1.712 GB, free: 215 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/3.132, allocations: 3.844 kB / 1.712 GB, free: 215 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002755/3.134, allocations: 0.9467 MB / 1.713 GB, free: 214.8 MB / 0.8698 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 () * 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.003461/3.138, allocations: 3.033 MB / 1.716 GB, free: 213 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002783/3.141, allocations: 2.206 MB / 1.718 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/3.141, allocations: 0 / 1.718 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/3.141, allocations: 492 kB / 1.719 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/3.144, allocations: 0.6361 MB / 1.719 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/3.15, allocations: 3.492 MB / 1.723 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/3.151, allocations: 1.692 MB / 1.725 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002863/3.153, allocations: 1.151 MB / 1.726 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/3.154, allocations: 0.5813 MB / 1.726 GB, free: 206 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/3.154, allocations: 2.156 kB / 1.726 GB, free: 206 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06913/3.223, allocations: 41.9 MB / 1.767 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/3.224, allocations: 199.8 kB / 1.767 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/6.404, allocations: 0 / 1.767 GB, free: 164.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)