Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.659/2.659, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001399/0.001398, allocations: 180.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009395/0.0009392, allocations: 92.47 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006553/0.0006558, allocations: 12.28 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2124, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03176/0.2442, allocations: 26.27 MB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.259, allocations: 7.341 MB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.2603, allocations: 27.81 kB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2617, allocations: 286.1 kB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.2649, allocations: 0.8004 MB / 1.012 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.2685, allocations: 0.7851 MB / 1.013 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00877/0.2773, allocations: 5.219 MB / 1.018 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003406/0.2808, allocations: 1.624 MB / 1.02 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.2846, allocations: 1.303 MB / 1.021 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.2878, allocations: 1.221 MB / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005186/0.2884, allocations: 80 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.2922, allocations: 0.9827 MB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.2931, allocations: 358.5 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009655/0.2941, allocations: 420.8 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.2996, allocations: 2.81 MB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2996, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2997, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.621e-05/0.2998, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.6511 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.007373/0.3071, allocations: 2.158 MB / 1.029 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3072, allocations: 8.031 kB / 1.029 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007377/0.3079, allocations: 210.8 kB / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.3093, allocations: 233.5 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.3145, allocations: 1.698 MB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3147, allocations: 114.7 kB / 1.031 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004932/0.3152, allocations: 151.9 kB / 1.031 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005673/0.3209, allocations: 1.978 MB / 1.033 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.455e-05/0.321, allocations: 4 kB / 1.033 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.3212, allocations: 59.98 kB / 1.033 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/0.3213, allocations: 51.88 kB / 1.033 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.3263, allocations: 1.786 MB / 1.035 GB, free: 1.996 MB / 0.6511 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.02034/0.3467, allocations: 7.605 MB / 1.042 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.3503, allocations: 1.44 MB / 1.044 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.352, allocations: 0.6603 MB / 1.045 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.3631, allocations: 3.838 MB / 1.048 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.3632, allocations: 47.5 kB / 1.048 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 5.06e-06/0.3632, allocations: 0 / 1.048 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.004298/0.3675, allocations: 1.503 MB / 1.05 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3676, allocations: 68.39 kB / 1.05 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.3712, allocations: 1.57 MB / 1.051 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/0.3716, allocations: 53.7 kB / 1.051 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.3727, allocations: 0.7457 MB / 1.052 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005729/0.3733, allocations: 315.5 kB / 1.052 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3734, allocations: 24 kB / 1.052 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3737, allocations: 369.9 kB / 1.053 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.3756, allocations: 0.6792 MB / 1.053 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.3778, allocations: 1.012 MB / 1.054 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.38, allocations: 0.865 MB / 1.055 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.3801, allocations: 15.88 kB / 1.055 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00527/0.3854, allocations: 1.932 MB / 1.057 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.3857, allocations: 365.4 kB / 1.058 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3858, allocations: 8 kB / 1.058 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.229e-05/0.3858, allocations: 20 kB / 1.058 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.3884, allocations: 335.5 kB / 1.058 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.693e-05/0.3884, allocations: 19.94 kB / 1.058 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.3906, allocations: 230 kB / 1.058 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.3908, allocations: 59.98 kB / 1.058 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3909, allocations: 4 kB / 1.058 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004613/0.3955, allocations: 1.784 MB / 1.06 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.3956, allocations: 8 kB / 1.06 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.3956, allocations: 16 kB / 1.06 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.3981, allocations: 339.4 kB / 1.06 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.3981, allocations: 23.88 kB / 1.06 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.4002, allocations: 190.9 kB / 1.061 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.4004, allocations: 55.98 kB / 1.061 GB, free: 6.867 MB / 0.6823 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.001682/0.4021, allocations: 0.7464 MB / 1.061 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005251/0.4026, allocations: 150.2 kB / 1.061 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/0.4061, allocations: 1.273 MB / 1.063 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.4061, allocations: 8 kB / 1.063 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.4062, allocations: 0 / 1.063 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002512/0.4087, allocations: 1.292 MB / 1.064 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.4159, allocations: 2.923 MB / 1.067 GB, free: 296 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.416, allocations: 4 kB / 1.067 GB, free: 292 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.4176, allocations: 191.7 kB / 1.067 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.4176, allocations: 4 kB / 1.067 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.965e-05/0.4177, allocations: 28.11 kB / 1.067 GB, free: 68 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.4177, allocations: 4 kB / 1.067 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/0.4178, allocations: 7.938 kB / 1.067 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6163/1.034, allocations: 1.895 MB / 1.069 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.035, allocations: 425.3 kB / 1.069 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008676/1.036, allocations: 20.75 kB / 1.069 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/1.039, allocations: 71.94 kB / 1.069 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.039, allocations: 51.19 kB / 1.069 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.039, allocations: 38.78 kB / 1.069 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002957/1.042, allocations: 1.184 MB / 1.071 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.122e-06/1.042, allocations: 0 / 1.071 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00404/1.047, allocations: 0.9078 MB / 1.072 GB, free: 86.07 MB / 0.6823 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.005975/1.053, allocations: 2.688 MB / 1.074 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006822/1.059, allocations: 2.311 MB / 1.076 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.06, allocations: 0.6875 kB / 1.076 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.061, allocations: 0.5189 MB / 1.077 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007738/1.069, allocations: 0.8593 MB / 1.078 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/1.109, allocations: 12.34 MB / 1.09 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/1.111, allocations: 1.661 MB / 1.091 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004785/1.116, allocations: 0.9185 MB / 1.092 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.118, allocations: 0.6095 MB / 1.093 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/1.118, allocations: 0 / 1.093 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.235, allocations: 49.2 MB / 1.141 GB, free: 41.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/1.236, allocations: 253.6 kB / 1.141 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.297/5.532, allocations: 0 / 1.141 GB, free: 41.04 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)