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.412/1.412, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 177.7 kB / 325.8 MB, free: 2.719 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.317/1.317, allocations: 205 MB / 0.576 GB, free: 21 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.0006723/0.0006723, allocations: 96.53 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 12.47 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1438, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01654/0.1604, allocations: 28.12 MB / 0.9237 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007069/0.1675, allocations: 7.895 MB / 0.9314 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/0.1682, allocations: 35.75 kB / 0.9314 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.1689, allocations: 338.1 kB / 0.9317 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.1704, allocations: 0.9137 MB / 0.9326 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.172, allocations: 0.9162 MB / 0.9335 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.1751, allocations: 6.041 MB / 0.9394 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.1765, allocations: 1.768 MB / 0.9411 GB, free: 21.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.1778, allocations: 1.342 MB / 0.9425 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009086/0.1787, allocations: 1.291 MB / 0.9437 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1788, allocations: 76 kB / 0.9438 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1804, allocations: 1.143 MB / 0.9449 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.1806, allocations: 370.4 kB / 0.9453 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.1812, allocations: 0.9444 MB / 0.9462 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.1831, allocations: 3.415 MB / 0.9495 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1831, allocations: 3.938 kB / 0.9495 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1832, allocations: 0 / 0.9495 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.1832, allocations: 0 / 0.9495 GB, free: 13.32 MB / 0.6042 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.002796/0.186, allocations: 2.125 MB / 0.9516 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.186, allocations: 12.03 kB / 0.9516 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.1862, allocations: 214.9 kB / 0.9518 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.1868, allocations: 234.5 kB / 0.952 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.1888, allocations: 1.73 MB / 0.9537 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.1889, allocations: 114.7 kB / 0.9538 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.189, allocations: 152 kB / 0.954 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.1912, allocations: 1.97 MB / 0.9559 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.1912, allocations: 15.83 kB / 0.9559 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.1914, allocations: 56 kB / 0.956 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.1914, allocations: 44 kB / 0.956 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1933, allocations: 1.798 MB / 0.9578 GB, free: 4.684 MB / 0.6042 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.007909/0.2012, allocations: 7.594 MB / 0.9652 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2028, allocations: 1.449 MB / 0.9666 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.2036, allocations: 0.6564 MB / 0.9672 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005048/0.2086, allocations: 3.827 MB / 0.971 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2087, allocations: 51.48 kB / 0.971 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 2.174e-06/0.2087, allocations: 4 kB / 0.971 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.002067/0.2108, allocations: 1.506 MB / 0.9725 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2108, allocations: 64.41 kB / 0.9726 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.2125, allocations: 1.585 MB / 0.9741 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.2126, allocations: 45.7 kB / 0.9742 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.2132, allocations: 0.7495 MB / 0.9749 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.2134, allocations: 307.6 kB / 0.9752 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.2135, allocations: 129.6 kB / 0.9753 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2137, allocations: 369.9 kB / 0.9757 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008817/0.2145, allocations: 0.6831 MB / 0.9763 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2157, allocations: 1.024 MB / 0.9773 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.2175, allocations: 1.628 MB / 0.9789 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2175, allocations: 4 kB / 0.9789 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002563/0.2201, allocations: 1.948 MB / 0.9808 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.2202, allocations: 364.6 kB / 0.9812 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2202, allocations: 8 kB / 0.9812 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.2203, allocations: 16 kB / 0.9812 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.2214, allocations: 331.5 kB / 0.9815 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.2214, allocations: 23.92 kB / 0.9815 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.2224, allocations: 218.1 kB / 0.9817 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.2225, allocations: 67.92 kB / 0.9818 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-06/0.2225, allocations: 7.938 kB / 0.9818 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002194/0.2247, allocations: 1.787 MB / 0.9836 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2247, allocations: 15.98 kB / 0.9836 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2248, allocations: 16 kB / 0.9836 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2258, allocations: 336.3 kB / 0.9839 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.2258, allocations: 19.92 kB / 0.9839 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.2267, allocations: 190.5 kB / 0.9841 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/0.2268, allocations: 55.98 kB / 0.9842 GB, free: 8.535 MB / 0.6355 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.0007826/0.2276, allocations: 0.7503 MB / 0.9849 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.2278, allocations: 154.1 kB / 0.985 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.2294, allocations: 1.279 MB / 0.9863 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.2295, allocations: 8 kB / 0.9863 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2295, allocations: 0 / 0.9863 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.2307, allocations: 1.292 MB / 0.9876 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.234, allocations: 2.923 MB / 0.9904 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2341, allocations: 128 / 0.9904 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.2348, allocations: 191.8 kB / 0.9906 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2348, allocations: 4 kB / 0.9906 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.2348, allocations: 23.98 kB / 0.9906 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2348, allocations: 4 kB / 0.9906 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2348, allocations: 0 / 0.9906 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.237, allocations: 1.917 MB / 0.9925 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.2375, allocations: 394.8 kB / 0.9929 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.2377, allocations: 16 kB / 0.9929 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.2384, allocations: 81.73 kB / 0.993 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.2385, allocations: 56.86 kB / 0.993 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.2386, allocations: 39.91 kB / 0.9931 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00128/0.2398, allocations: 1.186 MB / 0.9942 GB, free: 14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2399, allocations: 0 / 0.9942 GB, free: 14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001673/0.2415, allocations: 0.9163 MB / 0.9951 GB, free: 13.08 MB / 0.6511 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.002859/0.2444, allocations: 2.695 MB / 0.9977 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002757/0.2472, allocations: 2.324 MB / 1 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2472, allocations: 0 / 1 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.2478, allocations: 0.5263 MB / 1.001 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/0.251, allocations: 0.8712 MB / 1.001 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.2746, allocations: 16.37 MB / 1.017 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/0.2756, allocations: 1.661 MB / 1.019 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002188/0.2778, allocations: 0.9104 MB / 1.02 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/0.2786, allocations: 0.6164 MB / 1.02 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of SimCode: time 6.61e-07/0.2786, allocations: 0 / 1.02 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6985/0.9771, allocations: 46.66 MB / 1.066 GB, free: 147.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.9773, allocations: 277 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/4.168, allocations: 0.875 kB / 1.066 GB, free: 147.4 MB / 0.698 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)