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.0008648/0.0008648, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004908/0.004908, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.509/1.509, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004527/0.0004527, allocations: 22.03 kB / 0.6744 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1637, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02217/0.1859, allocations: 27.74 MB / 0.8151 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008256/0.1942, allocations: 7.819 MB / 0.8227 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.1947, allocations: 27.81 kB / 0.8227 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.1953, allocations: 330.1 kB / 0.8231 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.1969, allocations: 0.9331 MB / 0.824 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1986, allocations: 0.93 MB / 0.8249 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.2029, allocations: 6.057 MB / 0.8308 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.2046, allocations: 1.782 MB / 0.8325 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.206, allocations: 1.334 MB / 0.8338 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.2071, allocations: 1.291 MB / 0.8351 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.2073, allocations: 76 kB / 0.8352 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.2089, allocations: 1.143 MB / 0.8363 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.2092, allocations: 366.4 kB / 0.8366 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008085/0.21, allocations: 0.9811 MB / 0.8376 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.2127, allocations: 3.446 MB / 0.841 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2127, allocations: 0 / 0.841 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2127, allocations: 0 / 0.841 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.2127, allocations: 4 kB / 0.841 GB, free: 5.031 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.003294/0.216, allocations: 2.125 MB / 0.843 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2161, allocations: 8.031 kB / 0.843 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002228/0.2163, allocations: 214.9 kB / 0.8433 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.2169, allocations: 230.5 kB / 0.8435 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.2191, allocations: 1.745 MB / 0.8452 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.2191, allocations: 122.7 kB / 0.8453 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.2194, allocations: 151.9 kB / 0.8454 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.2218, allocations: 1.994 MB / 0.8474 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.2219, allocations: 0 / 0.8474 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.222, allocations: 60 kB / 0.8474 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.2221, allocations: 39.98 kB / 0.8475 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.2243, allocations: 1.798 MB / 0.8492 GB, free: 12.36 MB / 0.67 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.008552/0.2329, allocations: 7.609 MB / 0.8567 GB, free: 4.453 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.2344, allocations: 1.451 MB / 0.8581 GB, free: 2.977 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.2352, allocations: 0.6679 MB / 0.8587 GB, free: 2.309 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004926/0.2401, allocations: 3.839 MB / 0.8625 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2402, allocations: 51.5 kB / 0.8625 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.114e-06/0.2402, allocations: 0 / 0.8625 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.001927/0.2421, allocations: 1.514 MB / 0.864 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2421, allocations: 64.39 kB / 0.8641 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.2438, allocations: 1.582 MB / 0.8656 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.756e-05/0.2439, allocations: 49.7 kB / 0.8657 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.2444, allocations: 0.7497 MB / 0.8664 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.2446, allocations: 319.4 kB / 0.8667 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2447, allocations: 129.6 kB / 0.8668 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2449, allocations: 365.9 kB / 0.8672 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.2457, allocations: 0.6831 MB / 0.8678 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2468, allocations: 1.024 MB / 0.8688 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.2485, allocations: 1.624 MB / 0.8704 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2485, allocations: 4 kB / 0.8704 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002432/0.251, allocations: 1.944 MB / 0.8723 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.2511, allocations: 357 kB / 0.8727 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2512, allocations: 12 kB / 0.8727 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.2512, allocations: 20 kB / 0.8727 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2523, allocations: 339.4 kB / 0.873 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.2523, allocations: 23.92 kB / 0.873 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/0.2533, allocations: 218 kB / 0.8733 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.2534, allocations: 63.98 kB / 0.8733 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-06/0.2534, allocations: 4 kB / 0.8733 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002184/0.2556, allocations: 1.788 MB / 0.8751 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2556, allocations: 12.03 kB / 0.8751 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2556, allocations: 16 kB / 0.8751 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.2567, allocations: 331.5 kB / 0.8754 GB, free: 472 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.2567, allocations: 23.92 kB / 0.8754 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/0.2576, allocations: 194.5 kB / 0.8756 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.2577, allocations: 59.98 kB / 0.8757 GB, free: 192 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007255/0.2584, allocations: 0.7432 MB / 0.8764 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.2586, allocations: 150.1 kB / 0.8765 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2603, allocations: 1.285 MB / 0.8778 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.2604, allocations: 12 kB / 0.8778 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2604, allocations: 0 / 0.8778 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.2616, allocations: 1.284 MB / 0.8791 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.2649, allocations: 2.946 MB / 0.8819 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2649, allocations: 3.938 kB / 0.8819 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.2656, allocations: 179.8 kB / 0.8821 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2656, allocations: 11.94 kB / 0.8821 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.2657, allocations: 23.98 kB / 0.8822 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2657, allocations: 4 kB / 0.8822 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2657, allocations: 3.938 kB / 0.8822 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.2678, allocations: 1.913 MB / 0.884 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.2683, allocations: 426.8 kB / 0.8844 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.2685, allocations: 20 kB / 0.8845 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.2692, allocations: 79.45 kB / 0.8845 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.2693, allocations: 60.84 kB / 0.8846 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.2694, allocations: 36.11 kB / 0.8846 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001287/0.2707, allocations: 1.194 MB / 0.8858 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2707, allocations: 0 / 0.8858 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001773/0.2725, allocations: 0.9084 MB / 0.8867 GB, free: 4.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002965/0.2755, allocations: 2.715 MB / 0.8893 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002819/0.2783, allocations: 2.317 MB / 0.8916 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2783, allocations: 4 kB / 0.8916 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.2789, allocations: 0.521 MB / 0.8921 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/0.2824, allocations: 0.862 MB / 0.8929 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/0.3056, allocations: 16.48 MB / 0.909 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/0.3066, allocations: 1.661 MB / 0.9107 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002181/0.3088, allocations: 0.9284 MB / 0.9116 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/0.3096, allocations: 0.6164 MB / 0.9122 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.3096, allocations: 0 / 0.9122 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.582/4.891, allocations: 46.85 MB / 0.9579 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/4.892, allocations: 264 kB / 0.9582 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/8.921, allocations: 0 / 0.9582 GB, free: 117.2 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/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)