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.606/1.606, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001002/0.001002, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.682/1.682, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008281/0.0008281, allocations: 93.06 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.04e-05, allocations: 0 / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7519, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.902, allocations: 408.5 MB / 1.363 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.902, allocations: 95.56 kB / 1.363 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/3.432, allocations: 409.7 MB / 1.764 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.494e-06/3.432, allocations: 0 / 1.764 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000317/3.432, allocations: 46.81 kB / 1.764 GB, free: 209.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.007353/3.44, allocations: 1.913 MB / 1.765 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/3.44, allocations: 8.031 kB / 1.765 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/3.442, allocations: 225.5 kB / 1.766 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/3.448, allocations: 2.081 MB / 1.768 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/3.448, allocations: 44 kB / 1.768 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006758/3.448, allocations: 91.98 kB / 1.768 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003406/3.452, allocations: 1.587 MB / 1.769 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/3.455, allocations: 1.646 MB / 1.771 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/3.456, allocations: 4 kB / 1.771 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/3.456, allocations: 0 / 1.771 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/3.456, allocations: 40.45 kB / 1.771 GB, free: 202.1 MB / 0.9323 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.01259/3.468, allocations: 7.231 MB / 1.778 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/3.47, allocations: 1.256 MB / 1.779 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/3.471, allocations: 0.6025 MB / 1.78 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006439/3.477, allocations: 3.748 MB / 1.784 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/3.477, allocations: 47.34 kB / 1.784 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 4.038e-06/3.477, allocations: 0 / 1.784 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.002994/3.48, allocations: 1.107 MB / 1.785 GB, free: 187.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/3.48, allocations: 64.19 kB / 1.785 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/3.483, allocations: 1.222 MB / 1.786 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/3.483, allocations: 25.7 kB / 1.786 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/3.484, allocations: 0.7677 MB / 1.787 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/3.484, allocations: 299.6 kB / 1.787 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/3.484, allocations: 0 / 1.787 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001579/3.485, allocations: 357.9 kB / 1.787 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/3.485, allocations: 0.6363 MB / 1.788 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/3.487, allocations: 0.9751 MB / 1.789 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/3.489, allocations: 1.177 MB / 1.79 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/3.489, allocations: 4 kB / 1.79 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004477/3.494, allocations: 2.123 MB / 1.792 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009615/3.495, allocations: 3.482 MB / 1.796 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/3.495, allocations: 15.94 kB / 1.796 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.545e-05/3.495, allocations: 20 kB / 1.796 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/3.496, allocations: 351.5 kB / 1.796 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.615e-05/3.496, allocations: 19.94 kB / 1.796 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/3.498, allocations: 174.2 kB / 1.796 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/3.498, allocations: 63.98 kB / 1.796 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/3.498, allocations: 4 kB / 1.796 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003809/3.502, allocations: 1.951 MB / 1.798 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/3.502, allocations: 12 kB / 1.798 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/3.502, allocations: 23.92 kB / 1.798 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/3.503, allocations: 344.3 kB / 1.798 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/3.503, allocations: 31.53 kB / 1.799 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/3.505, allocations: 142.7 kB / 1.799 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/3.505, allocations: 63.98 kB / 1.799 GB, free: 172.8 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 () * 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.0003127/3.505, allocations: 136.5 kB / 1.799 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002278/3.508, allocations: 1.104 MB / 1.8 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/3.508, allocations: 126.4 kB / 1.8 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/3.511, allocations: 1.236 MB / 1.801 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/3.511, allocations: 11.95 kB / 1.801 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/3.511, allocations: 3.5 kB / 1.801 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/3.512, allocations: 1.307 MB / 1.803 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/3.517, allocations: 2.726 MB / 1.805 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/3.517, allocations: 0 / 1.805 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/3.518, allocations: 179.8 kB / 1.805 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/3.518, allocations: 7.953 kB / 1.805 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/3.518, allocations: 11.98 kB / 1.805 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/3.518, allocations: 4.094 kB / 1.805 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/3.518, allocations: 8 kB / 1.805 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/3.521, allocations: 1.919 MB / 1.807 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009476/3.522, allocations: 395.1 kB / 1.808 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/3.523, allocations: 8 kB / 1.808 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009938/3.524, allocations: 39.84 kB / 1.808 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/3.524, allocations: 52.72 kB / 1.808 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/3.524, allocations: 35.97 kB / 1.808 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001465/3.525, allocations: 0.9412 MB / 1.809 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.81e-07/3.525, allocations: 0 / 1.809 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003856/3.529, allocations: 0.9466 MB / 1.81 GB, free: 161.4 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 () * 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.004254/3.533, allocations: 3.055 MB / 1.813 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003337/3.537, allocations: 2.204 MB / 1.815 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/3.537, allocations: 0 / 1.815 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006037/3.537, allocations: 494.6 kB / 1.815 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/3.541, allocations: 0.629 MB / 1.816 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008328/3.549, allocations: 3.487 MB / 1.819 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/3.551, allocations: 1.697 MB / 1.821 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003863/3.555, allocations: 1.157 MB / 1.822 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/3.556, allocations: 0.5852 MB / 1.823 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.172e-06/3.556, allocations: 0 / 1.823 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08523/3.641, allocations: 42.08 MB / 1.864 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/3.642, allocations: 199.8 kB / 1.864 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.417/7.059, allocations: 6.438 kB / 1.864 GB, free: 105.9 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)