Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 248.5 MB / 261 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 182.1 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001146/0.001146, allocations: 98.41 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.107e-05/5.109e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.329/8.574, allocations: 2.451 GB / 3.341 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/8.575, allocations: 90.45 kB / 3.342 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.252/13.83, allocations: 0.9766 GB / 4.318 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.474e-06/13.83, allocations: 0 / 4.318 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002984/13.83, allocations: 53.52 kB / 4.318 GB, free: 128.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.007455/13.83, allocations: 1.876 MB / 4.32 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/13.83, allocations: 13.22 kB / 4.32 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005229/13.84, allocations: 168.7 kB / 4.32 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/13.84, allocations: 343.8 kB / 4.321 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006034/13.84, allocations: 1.595 MB / 4.322 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/13.84, allocations: 91.44 kB / 4.322 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/13.84, allocations: 120.1 kB / 4.322 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/13.85, allocations: 1.131 MB / 4.323 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/13.85, allocations: 3.375 kB / 4.323 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/13.85, allocations: 47.81 kB / 4.323 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/13.85, allocations: 40.81 kB / 4.324 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/13.85, allocations: 0.8584 MB / 4.324 GB, free: 126.9 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01168/13.86, allocations: 5.515 MB / 4.33 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/13.86, allocations: 0.8232 MB / 4.331 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/13.87, allocations: 376.1 kB / 4.331 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007539/13.87, allocations: 0.6033 MB / 4.331 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/13.87, allocations: 47.25 kB / 4.332 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.456e-06/13.87, allocations: 0 / 4.332 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002964/13.87, allocations: 0.8117 MB / 4.332 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/13.87, allocations: 61.28 kB / 4.332 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/13.87, allocations: 1.041 MB / 4.333 GB, free: 123 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/13.87, allocations: 43.3 kB / 4.333 GB, free: 123 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/13.87, allocations: 0.6934 MB / 4.334 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000408/13.87, allocations: 243.6 kB / 4.334 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/13.87, allocations: 13.72 kB / 4.334 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001039/13.87, allocations: 340 kB / 4.335 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/13.87, allocations: 237 kB / 4.335 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/13.88, allocations: 488.4 kB / 4.335 GB, free: 122 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/13.88, allocations: 315.9 kB / 4.336 GB, free: 122 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/13.88, allocations: 0 / 4.336 GB, free: 122 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002768/13.88, allocations: 0.9099 MB / 4.337 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000279/13.88, allocations: 0.9011 MB / 4.337 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/13.88, allocations: 6.281 kB / 4.337 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/13.88, allocations: 96.25 kB / 4.338 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/13.88, allocations: 162.2 kB / 4.338 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/13.88, allocations: 1.766 MB / 4.339 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/13.89, allocations: 164.6 kB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/13.89, allocations: 29.62 kB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/13.89, allocations: 1.688 kB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002099/13.89, allocations: 0.725 MB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/13.89, allocations: 0 / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/13.89, allocations: 94.06 kB / 4.34 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/13.89, allocations: 155.3 kB / 4.341 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/13.89, allocations: 3.114 MB / 4.344 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/13.9, allocations: 160.9 kB / 4.344 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/13.9, allocations: 31.53 kB / 4.344 GB, free: 116.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/13.9, allocations: 156.6 kB / 4.344 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/13.9, allocations: 148.5 kB / 4.344 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/13.9, allocations: 0.8956 MB / 4.345 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/13.9, allocations: 7.812 kB / 4.345 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/13.9, allocations: 3.516 kB / 4.345 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/13.9, allocations: 1.008 MB / 4.346 GB, free: 115.6 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.006501/13.91, allocations: 2.376 MB / 4.348 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/13.91, allocations: 3.312 kB / 4.348 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/13.91, allocations: 166 kB / 4.348 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/13.91, allocations: 90 kB / 4.349 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.871e-05/13.91, allocations: 25.61 kB / 4.349 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/13.91, allocations: 1.731 MB / 4.35 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.956e-06/13.91, allocations: 9.969 kB / 4.35 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/13.91, allocations: 1.499 MB / 4.352 GB, free: 113 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/13.92, allocations: 328.2 kB / 4.352 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/13.92, allocations: 17.72 kB / 4.352 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/13.92, allocations: 128 kB / 4.352 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/13.92, allocations: 51.42 kB / 4.352 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/13.92, allocations: 27.45 kB / 4.352 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001756/13.92, allocations: 0.8152 MB / 4.353 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.61e-07/13.92, allocations: 0 / 4.353 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004559/13.93, allocations: 0.9883 MB / 4.354 GB, free: 112.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007354/13.93, allocations: 4.533 MB / 4.358 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003745/13.94, allocations: 1.323 MB / 4.36 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/13.94, allocations: 0 / 4.36 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/13.94, allocations: 377.7 kB / 4.36 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007473/13.94, allocations: 0.8072 MB / 4.361 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/13.95, allocations: 2.457 MB / 4.363 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/13.95, allocations: 1.32 MB / 4.365 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003331/13.96, allocations: 458.2 kB / 4.365 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/13.96, allocations: 0.5486 MB / 4.366 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.924e-06/13.96, allocations: 5.969 kB / 4.366 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/14.13, allocations: 74.32 MB / 4.438 GB, free: 88.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/14.13, allocations: 240.3 kB / 4.438 GB, free: 87.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.967/20.1, allocations: 3.125 kB / 4.438 GB, free: 87.93 MB / 0.8855 GB