Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 288.4 MB / 303.3 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 179.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 0.6307 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007978/0.0007978, allocations: 94.34 kB / 0.744 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 11.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001241/0.2287, allocations: 0.9941 MB / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.2317, allocations: 3.514 MB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.2318, allocations: 0 / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.2318, allocations: 3.984 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.2322, allocations: 83.56 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2324, allocations: 93.5 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.2324, allocations: 27.86 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.2325, allocations: 4 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.2326, allocations: 23.91 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.2327, allocations: 35.91 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.2327, allocations: 0 / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.233, allocations: 291.6 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.2331, allocations: 11.98 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.2331, allocations: 25.7 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.2332, allocations: 76.11 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2332, allocations: 0 / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2332, allocations: 0 / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2332, allocations: 0 / 0.9847 GB, free: 22.37 MB / 0.6198 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.0003101/0.2336, allocations: 359.3 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2336, allocations: 8.031 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.2336, allocations: 34.5 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.2337, allocations: 3.953 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.2337, allocations: 167.1 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2338, allocations: 0 / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.2338, allocations: 7.938 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.2339, allocations: 29.7 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2339, allocations: 0 / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2339, allocations: 4 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2339, allocations: 3.984 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.234, allocations: 11.94 kB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.2341, allocations: 149.7 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.2341, allocations: 30.59 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.2342, allocations: 16.8 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.2344, allocations: 97.09 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2344, allocations: 30.56 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2344, allocations: 0 / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001256/0.2346, allocations: 49.59 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2346, allocations: 51.41 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.2346, allocations: 97.86 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.2347, allocations: 25.83 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.2347, allocations: 92.12 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2347, allocations: 3.906 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.2347, allocations: 0 / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.2348, allocations: 322.8 kB / 0.9862 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.2348, allocations: 7.938 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.2348, allocations: 0 / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.652e-05/0.2348, allocations: 4 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2348, allocations: 0 / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.013e-05/0.2349, allocations: 45.75 kB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2349, allocations: 8 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2349, allocations: 0 / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2349, allocations: 0 / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.235, allocations: 4 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.235, allocations: 0 / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.235, allocations: 0 / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.235, allocations: 3.938 kB / 0.9863 GB, free: 20.49 MB / 0.6198 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 () * Number of clocked 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 4.546e-05/0.2351, allocations: 113.8 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.2351, allocations: 4.031 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.2352, allocations: 52.75 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2352, allocations: 0 / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2352, allocations: 0 / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2352, allocations: 3.984 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.32e-05/0.2353, allocations: 161.6 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2353, allocations: 0 / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.2353, allocations: 8.234 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2353, allocations: 0 / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2353, allocations: 8.031 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2353, allocations: 0 / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2353, allocations: 0 / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.2354, allocations: 76.88 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.2354, allocations: 81.09 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2355, allocations: 8 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.2355, allocations: 0 / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.2355, allocations: 4.031 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2355, allocations: 0 / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.995e-05/0.2355, allocations: 83.27 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2355, allocations: 0 / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001885/0.2357, allocations: 24 kB / 0.9869 GB, free: 19.77 MB / 0.6198 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 () * Number of clocked 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.0002859/0.236, allocations: 0.6319 MB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.2361, allocations: 8 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2361, allocations: 0 / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.2361, allocations: 7.984 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.2363, allocations: 11.59 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.2366, allocations: 204 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.2368, allocations: 0.6731 MB / 0.9884 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.2368, allocations: 7.984 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.2368, allocations: 7.438 kB / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2368, allocations: 0 / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.2542, allocations: 1.467 MB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.2544, allocations: 226.2 kB / 0.9901 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/1.856, allocations: 2.578 kB / 0.9901 GB, free: 16.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)