Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.27/2.27, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001609/0.001609, allocations: 176.8 kB / 315.4 MB, free: 3.988 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.063/2.063, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 90.55 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.571e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.371, allocations: 354.5 MB / 1.23 GB, free: 4 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.372, allocations: 87.5 kB / 1.23 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05107/1.423, allocations: 13.46 MB / 1.244 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/1.423, allocations: 0 / 1.244 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.423, allocations: 4 kB / 1.244 GB, free: 5.367 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001152/1.424, allocations: 456.2 kB / 1.244 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.424, allocations: 8.031 kB / 1.244 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/1.424, allocations: 19.77 kB / 1.244 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.424, allocations: 186.8 kB / 1.244 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/1.424, allocations: 0 / 1.244 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/1.424, allocations: 11.94 kB / 1.244 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002971/1.425, allocations: 90.53 kB / 1.244 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/1.425, allocations: 80.77 kB / 1.244 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.425, allocations: 4 kB / 1.244 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.425, allocations: 3.984 kB / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.425, allocations: 0 / 1.244 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/1.426, allocations: 437.4 kB / 1.245 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/1.427, allocations: 99.86 kB / 1.245 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.427, allocations: 45.17 kB / 1.245 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/1.429, allocations: 0.9655 MB / 1.246 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/1.429, allocations: 30.56 kB / 1.246 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 6.011e-06/1.429, allocations: 0 / 1.246 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0007075/1.43, allocations: 140.8 kB / 1.246 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.43, allocations: 54.66 kB / 1.246 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/1.43, allocations: 147.7 kB / 1.246 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.43, allocations: 25.7 kB / 1.246 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/1.43, allocations: 107.4 kB / 1.246 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/1.43, allocations: 45.92 kB / 1.246 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/1.43, allocations: 0 / 1.246 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.43, allocations: 327.3 kB / 1.247 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/1.43, allocations: 45.31 kB / 1.247 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/1.431, allocations: 83.98 kB / 1.247 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/1.431, allocations: 120.1 kB / 1.247 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.432, allocations: 0 / 1.247 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001124/1.433, allocations: 245.3 kB / 1.247 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.433, allocations: 12.05 kB / 1.247 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.433, allocations: 0 / 1.247 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.433, allocations: 4 kB / 1.247 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/1.433, allocations: 59.52 kB / 1.247 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.433, allocations: 4 kB / 1.247 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/1.434, allocations: 39.67 kB / 1.247 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/1.434, allocations: 4 kB / 1.247 GB, free: 1.559 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001026/1.434, allocations: 105 kB / 1.247 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005475/1.434, allocations: 134.2 kB / 1.247 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/1.434, allocations: 15.77 kB / 1.248 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/1.435, allocations: 147.3 kB / 1.248 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.435, allocations: 0 / 1.248 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.435, allocations: 4 kB / 1.248 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.435, allocations: 0 / 1.248 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/1.436, allocations: 193.8 kB / 1.248 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.436, allocations: 0 / 1.248 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/1.436, allocations: 39.22 kB / 1.248 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/1.436, allocations: 11.95 kB / 1.248 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.436, allocations: 3.938 kB / 1.248 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/1.436, allocations: 3.938 kB / 1.248 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.436, allocations: 0 / 1.248 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/1.437, allocations: 226 kB / 1.248 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/1.437, allocations: 84.92 kB / 1.248 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/1.437, allocations: 11.94 kB / 1.248 GB, free: 0.6094 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/1.437, allocations: 15.98 kB / 1.248 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/1.437, allocations: 7.984 kB / 1.248 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.437, allocations: 7.375 kB / 1.248 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.929e-05/1.437, allocations: 106.1 kB / 1.248 GB, free: 496 kB / 0.8542 GB Notification: Performance of sort global known variables: time 4.31e-07/1.437, allocations: 0 / 1.248 GB, free: 496 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004838/1.438, allocations: 59.75 kB / 1.248 GB, free: 440 kB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.5933/2.031, allocations: 0.8302 MB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005265/2.032, allocations: 113.3 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.032, allocations: 0 / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/2.032, allocations: 42.62 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/2.032, allocations: 20.53 kB / 1.249 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/2.033, allocations: 200.4 kB / 1.25 GB, free: 309 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/2.033, allocations: 0.7063 MB / 1.25 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001936/2.033, allocations: 23.61 kB / 1.25 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/2.033, allocations: 37.61 kB / 1.25 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/2.033, allocations: 0 / 1.25 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/2.076, allocations: 3.632 MB / 1.254 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/2.077, allocations: 167.2 kB / 1.254 GB, free: 308 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/4.61, allocations: 0 / 1.254 GB, free: 308 MB / 0.8542 GB