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.201/2.201, allocations: 248.5 MB / 261.1 MB, free: 6.016 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.001415/0.001415, allocations: 174.2 kB / 320.4 MB, free: 15.35 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.005/2.005, 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.001075/0.001075, allocations: 96.72 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.326e-05, allocations: 8 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.422, allocations: 354.2 MB / 1.237 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/1.422, allocations: 87.75 kB / 1.237 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05335/1.476, allocations: 13.52 MB / 1.25 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/1.476, allocations: 0 / 1.25 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.311e-05/1.476, allocations: 4 kB / 1.25 GB, free: 0.5078 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.001243/1.477, allocations: 462.1 kB / 1.25 GB, free: 12 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/1.477, allocations: 8.031 kB / 1.25 GB, free: 4 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.6118/2.089, allocations: 38.25 kB / 1.25 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/2.089, allocations: 17.3 kB / 1.25 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/2.089, allocations: 178.5 kB / 1.251 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/2.089, allocations: 14.5 kB / 1.251 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/2.089, allocations: 10.81 kB / 1.251 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/2.089, allocations: 98.92 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/2.09, allocations: 0 / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/2.09, allocations: 3.5 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/2.09, allocations: 2 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/2.09, allocations: 96.36 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/2.091, allocations: 470 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/2.092, allocations: 101.6 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/2.092, allocations: 51.53 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/2.094, allocations: 0.9838 MB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/2.094, allocations: 37.31 kB / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 3.637e-06/2.094, allocations: 0 / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004111/2.094, allocations: 112.4 kB / 1.252 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/2.095, allocations: 53.03 kB / 1.253 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/2.095, allocations: 146.3 kB / 1.253 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/2.095, allocations: 28.58 kB / 1.253 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/2.095, allocations: 111.1 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/2.095, allocations: 37.75 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/2.095, allocations: 9.781 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/2.095, allocations: 322.5 kB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/2.095, allocations: 48.59 kB / 1.253 GB, free: 305 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/2.095, allocations: 88.03 kB / 1.253 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/2.096, allocations: 60.92 kB / 1.253 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.096, allocations: 0 / 1.253 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005297/2.096, allocations: 199.8 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/2.096, allocations: 6.094 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/2.096, allocations: 0 / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/2.096, allocations: 3.016 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/2.097, allocations: 63.41 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/2.097, allocations: 4.328 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/2.097, allocations: 38.03 kB / 1.254 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/2.097, allocations: 11.62 kB / 1.254 GB, free: 304.9 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 8.902e-05/2.097, allocations: 113 kB / 1.254 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/2.097, allocations: 17.7 kB / 1.254 GB, free: 304.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/2.098, allocations: 130.8 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/2.098, allocations: 4.5 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/2.098, allocations: 0.5156 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/2.098, allocations: 1.625 kB / 1.254 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/2.098, allocations: 217.2 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/2.098, allocations: 1.531 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/2.098, allocations: 43.23 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/2.098, allocations: 4.891 kB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/2.098, allocations: 1.672 kB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/2.098, allocations: 0 / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/2.098, allocations: 1.156 kB / 1.254 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/2.099, allocations: 212.1 kB / 1.254 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/2.099, allocations: 92.19 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/2.099, allocations: 6 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/2.099, allocations: 18.77 kB / 1.254 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/2.099, allocations: 12.78 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/2.099, allocations: 5.906 kB / 1.255 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.368e-05/2.099, allocations: 113.8 kB / 1.255 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/2.099, allocations: 0 / 1.255 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004662/2.1, allocations: 70.09 kB / 1.255 GB, free: 304.2 MB / 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.0008014/2.101, allocations: 0.8135 MB / 1.255 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003959/2.101, allocations: 119.5 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/2.101, allocations: 0 / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/2.101, allocations: 41.75 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/2.102, allocations: 29.97 kB / 1.256 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/2.102, allocations: 213.9 kB / 1.256 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/2.102, allocations: 0.7086 MB / 1.257 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001831/2.103, allocations: 32 kB / 1.257 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/2.103, allocations: 34.23 kB / 1.257 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/2.103, allocations: 0 / 1.257 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/2.133, allocations: 4.276 MB / 1.261 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/2.133, allocations: 181 kB / 1.261 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/4.524, allocations: 0 / 1.261 GB, free: 302.2 MB / 0.8542 GB