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.375/1.375, allocations: 252 MB / 267.3 MB, free: 10.85 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.001038/0.001038, allocations: 178 kB / 327 MB, free: 2.094 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.663/1.663, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009517/0.0009519, allocations: 90.58 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003731, allocations: 9.281 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1825, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02063/0.2032, allocations: 27.75 MB / 0.928 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008372/0.2116, allocations: 7.788 MB / 0.9356 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.2128, allocations: 31.75 kB / 0.9356 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.2137, allocations: 330.1 kB / 0.936 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.2158, allocations: 0.9292 MB / 0.9369 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.2179, allocations: 0.9047 MB / 0.9378 GB, free: 25.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003977/0.2219, allocations: 6.038 MB / 0.9437 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.2236, allocations: 1.79 MB / 0.9454 GB, free: 17.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.2255, allocations: 1.342 MB / 0.9467 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.2267, allocations: 1.299 MB / 0.948 GB, free: 15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2269, allocations: 76 kB / 0.948 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.229, allocations: 1.131 MB / 0.9492 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.2294, allocations: 374.3 kB / 0.9495 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.2304, allocations: 0.9655 MB / 0.9505 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.2333, allocations: 3.427 MB / 0.9538 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2333, allocations: 0 / 0.9538 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2333, allocations: 0 / 0.9538 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.2334, allocations: 4 kB / 0.9538 GB, free: 9.008 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.003471/0.2369, allocations: 2.121 MB / 0.9559 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2369, allocations: 8.031 kB / 0.9559 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.2371, allocations: 218.9 kB / 0.9561 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.2377, allocations: 230.5 kB / 0.9563 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.2399, allocations: 1.737 MB / 0.958 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.2399, allocations: 110.7 kB / 0.9581 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.2402, allocations: 148 kB / 0.9583 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.2425, allocations: 1.978 MB / 0.9602 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.2425, allocations: 11.84 kB / 0.9602 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2427, allocations: 59.94 kB / 0.9603 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.2427, allocations: 36 kB / 0.9603 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.2448, allocations: 1.802 MB / 0.962 GB, free: 384 kB / 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.01022/0.255, allocations: 7.601 MB / 0.9695 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.2568, allocations: 1.44 MB / 0.9709 GB, free: 7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/0.2576, allocations: 0.6636 MB / 0.9715 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005656/0.2633, allocations: 3.822 MB / 0.9753 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.2633, allocations: 43.56 kB / 0.9753 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.2633, allocations: 3.938 kB / 0.9753 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.002198/0.2655, allocations: 1.51 MB / 0.9768 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.2656, allocations: 61.61 kB / 0.9768 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.2675, allocations: 1.585 MB / 0.9784 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.2676, allocations: 49.7 kB / 0.9784 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005817/0.2682, allocations: 0.7495 MB / 0.9792 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.2684, allocations: 311.6 kB / 0.9795 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.2685, allocations: 28 kB / 0.9795 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2687, allocations: 365.9 kB / 0.9798 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.2696, allocations: 0.687 MB / 0.9805 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.2707, allocations: 1.02 MB / 0.9815 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.2726, allocations: 1.628 MB / 0.9831 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.2726, allocations: 4 kB / 0.9831 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002769/0.2754, allocations: 1.948 MB / 0.985 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.2756, allocations: 360.6 kB / 0.9853 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2756, allocations: 8 kB / 0.9854 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.2757, allocations: 16 kB / 0.9854 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.2769, allocations: 339.4 kB / 0.9857 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.682e-05/0.2769, allocations: 23.92 kB / 0.9857 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.2781, allocations: 218.1 kB / 0.9859 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.2783, allocations: 67.92 kB / 0.986 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.2783, allocations: 4 kB / 0.986 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002361/0.2807, allocations: 1.791 MB / 0.9877 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2807, allocations: 15.98 kB / 0.9878 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2807, allocations: 16 kB / 0.9878 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.2818, allocations: 335.6 kB / 0.9881 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/0.2819, allocations: 23.92 kB / 0.9881 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.2829, allocations: 183.2 kB / 0.9883 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.283, allocations: 59.98 kB / 0.9883 GB, free: 4.336 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.0009786/0.284, allocations: 0.7541 MB / 0.9891 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.2843, allocations: 150.2 kB / 0.9892 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.2861, allocations: 1.281 MB / 0.9905 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2861, allocations: 15.98 kB / 0.9905 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2861, allocations: 4 kB / 0.9905 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.2875, allocations: 1.281 MB / 0.9917 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.2913, allocations: 2.919 MB / 0.9946 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2913, allocations: 0 / 0.9946 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.2921, allocations: 187.9 kB / 0.9948 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.2921, allocations: 4 kB / 0.9948 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.2922, allocations: 27.98 kB / 0.9948 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.2922, allocations: 4 kB / 0.9948 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2922, allocations: 3.938 kB / 0.9948 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.2945, allocations: 1.913 MB / 0.9967 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.2951, allocations: 418.8 kB / 0.9971 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.2953, allocations: 27.98 kB / 0.9971 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.2961, allocations: 77.03 kB / 0.9972 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2962, allocations: 48.88 kB / 0.9972 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/0.2963, allocations: 39.97 kB / 0.9973 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00144/0.2977, allocations: 1.19 MB / 0.9984 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2977, allocations: 3.938 kB / 0.9984 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002041/0.2998, allocations: 0.9045 MB / 0.9993 GB, free: 8.859 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.003166/0.303, allocations: 2.701 MB / 1.002 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003204/0.3062, allocations: 2.328 MB / 1.004 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3062, allocations: 0 / 1.004 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.3068, allocations: 0.517 MB / 1.005 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/0.3108, allocations: 0.878 MB / 1.006 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/0.3387, allocations: 16.48 MB / 1.022 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.34, allocations: 1.669 MB / 1.023 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002553/0.3425, allocations: 0.9047 MB / 1.024 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.3434, allocations: 0.6203 MB / 1.025 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of SimCode: time 8.91e-07/0.3434, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.366/1.709, allocations: 46.65 MB / 1.07 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.709, allocations: 278.2 kB / 1.071 GB, free: 141.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.404/6.114, allocations: 0 / 1.071 GB, free: 141.7 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)