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.428/1.428, allocations: 252 MB / 267 MB, free: 10.98 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.001054/0.001054, allocations: 179.7 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.5777 GB, free: 20.53 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.0009096/0.0009097, allocations: 81.77 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004577, allocations: 9.094 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2465, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02228/0.2688, allocations: 26.28 MB / 0.926 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009146/0.278, allocations: 7.306 MB / 0.9331 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.2794, allocations: 35.69 kB / 0.9331 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009613/0.2804, allocations: 286.1 kB / 0.9334 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.2828, allocations: 0.7966 MB / 0.9342 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.2852, allocations: 0.7677 MB / 0.9349 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004465/0.2897, allocations: 5.215 MB / 0.94 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.2918, allocations: 1.601 MB / 0.9416 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.2944, allocations: 1.307 MB / 0.9429 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.296, allocations: 1.225 MB / 0.9441 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.2962, allocations: 84 kB / 0.9441 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.2984, allocations: 0.9788 MB / 0.9451 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.2987, allocations: 350.5 kB / 0.9454 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004734/0.2991, allocations: 416.8 kB / 0.9458 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.3015, allocations: 2.794 MB / 0.9486 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3015, allocations: 0 / 0.9486 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3016, allocations: 3.938 kB / 0.9486 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.3016, allocations: 0 / 0.9486 GB, free: 14.75 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.004134/0.3057, allocations: 2.136 MB / 0.9507 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3058, allocations: 12.03 kB / 0.9507 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002635/0.3061, allocations: 210.8 kB / 0.9509 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/0.3067, allocations: 233.5 kB / 0.9511 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.3091, allocations: 1.683 MB / 0.9527 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.3092, allocations: 114.7 kB / 0.9528 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3094, allocations: 163.8 kB / 0.953 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.312, allocations: 1.958 MB / 0.9549 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.312, allocations: 12 kB / 0.9549 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.3122, allocations: 52 kB / 0.955 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.3122, allocations: 47.94 kB / 0.955 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.3146, allocations: 1.786 MB / 0.9568 GB, free: 6.164 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.01046/0.3251, allocations: 7.586 MB / 0.9642 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3271, allocations: 1.437 MB / 0.9656 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/0.328, allocations: 0.6621 MB / 0.9662 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006862/0.3348, allocations: 3.835 MB / 0.97 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.3349, allocations: 47.56 kB / 0.97 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 3.387e-06/0.335, allocations: 0 / 0.97 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.002643/0.3376, allocations: 1.506 MB / 0.9715 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3377, allocations: 64.41 kB / 0.9715 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.34, allocations: 1.574 MB / 0.9731 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3401, allocations: 45.7 kB / 0.9731 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006564/0.3408, allocations: 0.7535 MB / 0.9739 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.3411, allocations: 307.5 kB / 0.9742 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.3412, allocations: 36 kB / 0.9742 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3414, allocations: 365.9 kB / 0.9745 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3424, allocations: 0.6792 MB / 0.9752 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.3436, allocations: 1.012 MB / 0.9762 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3449, allocations: 0.8729 MB / 0.977 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.3449, allocations: 4 kB / 0.977 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003379/0.3483, allocations: 1.936 MB / 0.9789 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.3486, allocations: 356.6 kB / 0.9793 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3486, allocations: 11.98 kB / 0.9793 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.002e-05/0.3487, allocations: 23.98 kB / 0.9793 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.35, allocations: 331.5 kB / 0.9796 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.387e-05/0.35, allocations: 27.92 kB / 0.9796 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3516, allocations: 218.1 kB / 0.9799 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.3517, allocations: 59.98 kB / 0.9799 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3518, allocations: 8 kB / 0.9799 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002662/0.3544, allocations: 1.787 MB / 0.9817 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.3545, allocations: 8 kB / 0.9817 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3545, allocations: 20.91 kB / 0.9817 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.3557, allocations: 327.5 kB / 0.982 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.3557, allocations: 23.92 kB / 0.982 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3571, allocations: 186.5 kB / 0.9822 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.3573, allocations: 59.98 kB / 0.9823 GB, free: 11.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001371/0.3586, allocations: 0.7502 MB / 0.983 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.3591, allocations: 154.1 kB / 0.9831 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.3611, allocations: 1.277 MB / 0.9844 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3612, allocations: 12 kB / 0.9844 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3612, allocations: 0 / 0.9844 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/0.3627, allocations: 1.28 MB / 0.9857 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.3677, allocations: 2.916 MB / 0.9885 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3677, allocations: 4 kB / 0.9885 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.3685, allocations: 183.8 kB / 0.9887 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/0.3686, allocations: 4 kB / 0.9887 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.3686, allocations: 23.98 kB / 0.9887 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.3686, allocations: 4 kB / 0.9887 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3687, allocations: 4 kB / 0.9887 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.3715, allocations: 1.909 MB / 0.9906 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/0.3725, allocations: 414.8 kB / 0.991 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.3729, allocations: 23.98 kB / 0.991 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.3741, allocations: 79.77 kB / 0.9911 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.3742, allocations: 52.92 kB / 0.9911 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-05/0.3742, allocations: 27.98 kB / 0.9912 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002131/0.3764, allocations: 1.182 MB / 0.9923 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3764, allocations: 0 / 0.9923 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003368/0.3798, allocations: 0.9084 MB / 0.9932 GB, free: 15.62 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 (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.003612/0.3834, allocations: 2.694 MB / 0.9958 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003893/0.3873, allocations: 2.308 MB / 0.9981 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3873, allocations: 0 / 0.9981 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007681/0.3881, allocations: 0.5209 MB / 0.9986 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/0.3931, allocations: 0.8674 MB / 0.9994 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/0.4245, allocations: 12.34 MB / 1.011 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/0.4265, allocations: 1.661 MB / 1.013 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003549/0.4301, allocations: 0.9085 MB / 1.014 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.4314, allocations: 0.6125 MB / 1.015 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/0.4314, allocations: 4 kB / 1.015 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5249/0.9562, allocations: 49.01 MB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.9565, allocations: 257 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/4.426, allocations: 3.281 kB / 1.063 GB, free: 142.1 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)