Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.633/2.633, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001552/0.001552, allocations: 186.9 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 1.946/1.946, 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.001087/0.001086, allocations: 94.36 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.89e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1958, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.345, allocations: 361.6 MB / 1.244 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.346, allocations: 96.11 kB / 1.244 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6431/1.989, allocations: 16.04 MB / 1.26 GB, free: 310 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/1.989, allocations: 0 / 1.26 GB, free: 310 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.989, allocations: 1.562 kB / 1.26 GB, free: 310 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004475/1.989, allocations: 377 kB / 1.26 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.99, allocations: 10.59 kB / 1.26 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/1.99, allocations: 34.5 kB / 1.26 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/1.99, allocations: 5.312 kB / 1.26 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/1.99, allocations: 166.3 kB / 1.26 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.99, allocations: 0 / 1.26 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/1.99, allocations: 1.531 kB / 1.26 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.754e-05/1.99, allocations: 31.03 kB / 1.26 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.99, allocations: 4 kB / 1.26 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/1.99, allocations: 4.703 kB / 1.26 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.99, allocations: 0.75 kB / 1.26 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/1.99, allocations: 13.08 kB / 1.26 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/1.99, allocations: 154 kB / 1.26 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/1.99, allocations: 25.2 kB / 1.26 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/1.99, allocations: 7.547 kB / 1.26 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/1.991, allocations: 100.8 kB / 1.26 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/1.991, allocations: 34.56 kB / 1.26 GB, free: 309 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/1.991, allocations: 0 / 1.26 GB, free: 309 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/1.991, allocations: 40.36 kB / 1.261 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/1.991, allocations: 56.47 kB / 1.261 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/1.991, allocations: 95.66 kB / 1.261 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.991, allocations: 29.73 kB / 1.261 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/1.991, allocations: 81.14 kB / 1.261 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.991, allocations: 1.641 kB / 1.261 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.991, allocations: 1.062 kB / 1.261 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/1.991, allocations: 321 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/1.991, allocations: 1.75 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/1.991, allocations: 2.844 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/1.991, allocations: 7.281 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.991, allocations: 4.062 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.729e-05/1.991, allocations: 45.31 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.991, allocations: 5.922 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.991, allocations: 0 / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.991, allocations: 4.906 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/1.991, allocations: 3.516 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.991, allocations: 5.594 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/1.991, allocations: 0 / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.991, allocations: 1.031 kB / 1.261 GB, free: 308.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.192e-05/1.992, allocations: 110.7 kB / 1.261 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/1.992, allocations: 2.156 kB / 1.261 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/1.992, allocations: 46.7 kB / 1.261 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.992, allocations: 0 / 1.261 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.992, allocations: 0.9062 kB / 1.261 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.992, allocations: 0.7969 kB / 1.261 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/1.992, allocations: 158.1 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.992, allocations: 1 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/1.992, allocations: 3.875 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.992, allocations: 4.031 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/1.992, allocations: 0.8125 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.992, allocations: 1.469 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.992, allocations: 4.188 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.969e-05/1.992, allocations: 69.77 kB / 1.262 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/1.992, allocations: 84.72 kB / 1.262 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/1.992, allocations: 4.875 kB / 1.262 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/1.992, allocations: 5.484 kB / 1.262 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/1.992, allocations: 1.625 kB / 1.262 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.992, allocations: 0.9375 kB / 1.262 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.707e-05/1.992, allocations: 84.8 kB / 1.262 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/1.992, allocations: 0 / 1.262 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003385/1.993, allocations: 27.58 kB / 1.262 GB, free: 307.7 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 (2): * Single equations (assignments): 2 * 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.0005442/1.993, allocations: 0.6683 MB / 1.262 GB, free: 307 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/1.993, allocations: 8.906 kB / 1.262 GB, free: 307 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.993, allocations: 0 / 1.262 GB, free: 307 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/1.993, allocations: 4.656 kB / 1.262 GB, free: 307 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/1.994, allocations: 5.547 kB / 1.262 GB, free: 307 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/1.994, allocations: 111.8 kB / 1.263 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/1.994, allocations: 0.6868 MB / 1.263 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.377e-05/1.994, allocations: 1.906 kB / 1.263 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/1.994, allocations: 10.61 kB / 1.263 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/1.994, allocations: 0 / 1.263 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/2.021, allocations: 1.948 MB / 1.265 GB, free: 306 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/2.022, allocations: 184.9 kB / 1.265 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/4.466, allocations: 2.391 kB / 1.265 GB, free: 305.8 MB / 0.8542 GB