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.546/1.546, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001071/0.001071, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009045/0.0009043, allocations: 84.3 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.93e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.761/2.023, allocations: 401.5 MB / 1.284 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/2.023, allocations: 93.38 kB / 1.284 GB, free: 322.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.544/3.567, allocations: 401 MB / 1.676 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/3.567, allocations: 0 / 1.676 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002497/3.567, allocations: 49.08 kB / 1.676 GB, free: 236.7 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.006794/3.574, allocations: 1.92 MB / 1.678 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.453e-05/3.574, allocations: 11.22 kB / 1.678 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004691/3.575, allocations: 208.8 kB / 1.678 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/3.576, allocations: 214.2 kB / 1.678 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004819/3.581, allocations: 2.069 MB / 1.68 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/3.581, allocations: 115.1 kB / 1.68 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/3.581, allocations: 153.2 kB / 1.68 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003304/3.585, allocations: 1.844 MB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/3.585, allocations: 8.969 kB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/3.585, allocations: 59.19 kB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/3.585, allocations: 34.3 kB / 1.682 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/3.587, allocations: 1.662 MB / 1.684 GB, free: 235.2 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.01271/3.6, allocations: 7.522 MB / 1.691 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/3.602, allocations: 1.318 MB / 1.692 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/3.603, allocations: 0.6267 MB / 1.693 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007102/3.61, allocations: 3.832 MB / 1.697 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/3.61, allocations: 38.5 kB / 1.697 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 4.218e-06/3.61, allocations: 0 / 1.697 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.002013/3.612, allocations: 1.05 MB / 1.698 GB, free: 229 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/3.612, allocations: 59.31 kB / 1.698 GB, free: 229 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/3.615, allocations: 1.491 MB / 1.699 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/3.615, allocations: 49.52 kB / 1.699 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006139/3.615, allocations: 0.7558 MB / 1.7 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/3.616, allocations: 311.9 kB / 1.7 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/3.616, allocations: 31.91 kB / 1.701 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/3.616, allocations: 373.7 kB / 1.701 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009531/3.617, allocations: 0.6635 MB / 1.702 GB, free: 227 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/3.618, allocations: 1.01 MB / 1.703 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/3.619, allocations: 0.855 MB / 1.703 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/3.619, allocations: 0 / 1.703 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003199/3.622, allocations: 1.914 MB / 1.705 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001141/3.624, allocations: 3.52 MB / 1.709 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/3.624, allocations: 9.875 kB / 1.709 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.913e-05/3.624, allocations: 20.52 kB / 1.709 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/3.625, allocations: 349.9 kB / 1.709 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/3.625, allocations: 19.66 kB / 1.709 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/3.627, allocations: 226.3 kB / 1.709 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/3.627, allocations: 65.41 kB / 1.709 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/3.627, allocations: 6.156 kB / 1.709 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002629/3.63, allocations: 1.756 MB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/3.63, allocations: 11.45 kB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/3.63, allocations: 22.11 kB / 1.711 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/3.631, allocations: 342.2 kB / 1.711 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/3.631, allocations: 28.58 kB / 1.711 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/3.633, allocations: 185 kB / 1.712 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/3.633, allocations: 61.56 kB / 1.712 GB, free: 220.9 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.0003584/3.633, allocations: 184 kB / 1.712 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/3.633, allocations: 145.5 kB / 1.712 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/3.636, allocations: 1.203 MB / 1.713 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/3.636, allocations: 11.09 kB / 1.713 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/3.636, allocations: 0 / 1.713 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/3.637, allocations: 1.236 MB / 1.714 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/3.641, allocations: 2.849 MB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/3.642, allocations: 10.25 kB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/3.642, allocations: 179.5 kB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/3.642, allocations: 3.781 kB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/3.642, allocations: 23.45 kB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/3.642, allocations: 3.75 kB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/3.642, allocations: 6.156 kB / 1.717 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/3.645, allocations: 1.881 MB / 1.719 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009585/3.646, allocations: 422.1 kB / 1.72 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/3.646, allocations: 19 kB / 1.72 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/3.647, allocations: 72.7 kB / 1.72 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/3.647, allocations: 56.84 kB / 1.72 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/3.647, allocations: 33.66 kB / 1.72 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001867/3.649, allocations: 1.231 MB / 1.721 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/3.649, allocations: 0 / 1.721 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003245/3.652, allocations: 0.9624 MB / 1.722 GB, free: 216.5 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.003918/3.656, allocations: 3.017 MB / 1.725 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003815/3.66, allocations: 2.318 MB / 1.727 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/3.66, allocations: 0 / 1.727 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/3.661, allocations: 0.5012 MB / 1.728 GB, free: 214 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/3.666, allocations: 0.8401 MB / 1.728 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/3.673, allocations: 3.663 MB / 1.732 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/3.674, allocations: 1.694 MB / 1.734 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003875/3.678, allocations: 1.26 MB / 1.735 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009551/3.679, allocations: 0.5899 MB / 1.735 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.805e-06/3.679, allocations: 0 / 1.735 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09766/3.777, allocations: 52.88 MB / 1.787 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/3.777, allocations: 217.4 kB / 1.787 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/7.885, allocations: 2.656 kB / 1.787 GB, free: 159.4 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)