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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 100.4 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005688/0.0005691, allocations: 17.25 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2987, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0279/0.3266, allocations: 24.01 MB / 0.8107 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.3383, allocations: 6.796 MB / 0.8173 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.3399, allocations: 27.81 kB / 0.8173 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.3418, allocations: 397.9 kB / 0.8177 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.346, allocations: 1.001 MB / 0.8187 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.3496, allocations: 1.093 MB / 0.8198 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.3539, allocations: 2.691 MB / 0.8224 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.3563, allocations: 1.617 MB / 0.824 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.3588, allocations: 1.164 MB / 0.8251 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.3604, allocations: 0.9411 MB / 0.826 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.3607, allocations: 80 kB / 0.8261 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.3632, allocations: 0.8465 MB / 0.8269 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.3637, allocations: 342.7 kB / 0.8273 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007744/0.3644, allocations: 428.6 kB / 0.8277 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.3679, allocations: 2.751 MB / 0.8304 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3679, allocations: 0 / 0.8304 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3679, allocations: 0 / 0.8304 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.368, allocations: 4 kB / 0.8304 GB, free: 15.58 MB / 0.6544 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.004905/0.3729, allocations: 2.123 MB / 0.8324 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.373, allocations: 12.03 kB / 0.8324 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004075/0.3734, allocations: 222.7 kB / 0.8327 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/0.3742, allocations: 229.5 kB / 0.8329 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.3774, allocations: 1.605 MB / 0.8344 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.3775, allocations: 110.7 kB / 0.8345 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.3778, allocations: 163.9 kB / 0.8347 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.3812, allocations: 1.966 MB / 0.8366 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.3813, allocations: 7.938 kB / 0.8366 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.3814, allocations: 56 kB / 0.8367 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.3815, allocations: 39.98 kB / 0.8367 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.3845, allocations: 1.79 MB / 0.8385 GB, free: 7.082 MB / 0.6544 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.01352/0.398, allocations: 7.691 MB / 0.846 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.4005, allocations: 1.467 MB / 0.8474 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00769/0.4082, allocations: 3.874 MB / 0.8512 GB, free: 9.398 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.4083, allocations: 43.56 kB / 0.8512 GB, free: 9.348 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 3.347e-06/0.4084, allocations: 3.938 kB / 0.8512 GB, free: 9.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.002804/0.4112, allocations: 1.502 MB / 0.8527 GB, free: 7.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.4112, allocations: 64.39 kB / 0.8528 GB, free: 7.762 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.4139, allocations: 1.663 MB / 0.8544 GB, free: 6.086 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.4141, allocations: 45.7 kB / 0.8544 GB, free: 6.035 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/0.4148, allocations: 0.7535 MB / 0.8552 GB, free: 5.273 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.4152, allocations: 319.5 kB / 0.8555 GB, free: 4.957 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.4153, allocations: 28 kB / 0.8555 GB, free: 4.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002781/0.4156, allocations: 365.9 kB / 0.8559 GB, free: 4.566 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4167, allocations: 0.6791 MB / 0.8565 GB, free: 3.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4181, allocations: 1.008 MB / 0.8575 GB, free: 2.746 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.4194, allocations: 0.8728 MB / 0.8584 GB, free: 1.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4195, allocations: 4 kB / 0.8584 GB, free: 1.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003304/0.4228, allocations: 1.932 MB / 0.8602 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001826/0.4246, allocations: 3.522 MB / 0.8637 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.4247, allocations: 8 kB / 0.8637 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.163e-05/0.4247, allocations: 16 kB / 0.8637 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4261, allocations: 347.4 kB / 0.864 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/0.4261, allocations: 23.92 kB / 0.8641 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4279, allocations: 233.9 kB / 0.8643 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.428, allocations: 59.98 kB / 0.8643 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.428, allocations: 4 kB / 0.8643 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002751/0.4308, allocations: 1.783 MB / 0.8661 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4308, allocations: 11.98 kB / 0.8661 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4309, allocations: 20 kB / 0.8661 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4321, allocations: 348.1 kB / 0.8664 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.4321, allocations: 27.92 kB / 0.8665 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4336, allocations: 182.5 kB / 0.8667 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.4337, allocations: 59.98 kB / 0.8667 GB, free: 9.066 MB / 0.6856 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 (175): * Single equations (assignments): 175 * 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.001506/0.4353, allocations: 0.7542 MB / 0.8674 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005412/0.4358, allocations: 150.1 kB / 0.8676 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.4381, allocations: 1.277 MB / 0.8688 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/0.4381, allocations: 19.88 kB / 0.8689 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4381, allocations: 0 / 0.8689 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001661/0.4398, allocations: 1.273 MB / 0.8701 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.445, allocations: 2.951 MB / 0.873 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4451, allocations: 12.02 kB / 0.873 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008219/0.4459, allocations: 179.8 kB / 0.8732 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.4459, allocations: 4 kB / 0.8732 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.446, allocations: 20 kB / 0.8732 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.446, allocations: 15.92 kB / 0.8732 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.446, allocations: 0 / 0.8732 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.449, allocations: 1.963 MB / 0.8751 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.4503, allocations: 446.7 kB / 0.8755 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4506, allocations: 20.19 kB / 0.8756 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008961/0.4515, allocations: 79.77 kB / 0.8756 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4516, allocations: 64.88 kB / 0.8757 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.851e-05/0.4517, allocations: 35.97 kB / 0.8757 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002237/0.4539, allocations: 1.245 MB / 0.8769 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4539, allocations: 0 / 0.8769 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003624/0.4576, allocations: 0.9163 MB / 0.8778 GB, free: 13.39 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * 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.004446/0.462, allocations: 3.028 MB / 0.8808 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004339/0.4664, allocations: 2.305 MB / 0.8831 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.4664, allocations: 4 kB / 0.8831 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.4672, allocations: 0.5209 MB / 0.8836 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/0.4716, allocations: 0.8491 MB / 0.8844 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.4849, allocations: 11.51 MB / 0.8956 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.4865, allocations: 1.692 MB / 0.8973 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002939/0.4894, allocations: 0.9215 MB / 0.8982 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009594/0.4904, allocations: 0.6241 MB / 0.8988 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/0.4904, allocations: 0 / 0.8988 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.601/1.091, allocations: 48.9 MB / 0.9466 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.092, allocations: 239.7 kB / 0.9468 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.383/4.475, allocations: 0 / 0.9468 GB, free: 118.5 MB / 0.7325 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) Environment - environmentSimulation: