Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.643/2.643, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001575/0.001574, allocations: 188.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001143/0.001143, allocations: 86.12 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.0005601, allocations: 15.66 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2236, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001408/0.2251, allocations: 0.9977 MB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004396/0.2295, allocations: 3.266 MB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.2296, allocations: 4 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.2296, allocations: 0 / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.2301, allocations: 83.77 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2305, allocations: 87.73 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.302e-05/0.2305, allocations: 15.98 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.2306, allocations: 4 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2307, allocations: 27.91 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2308, allocations: 39.83 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2309, allocations: 3.938 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.2314, allocations: 279.6 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.2314, allocations: 3.984 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.2315, allocations: 33.64 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2317, allocations: 80.09 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2317, allocations: 0 / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2317, allocations: 0 / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2317, allocations: 4 kB / 0.9831 GB, free: 23.34 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.0003435/0.2321, allocations: 355.3 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2321, allocations: 11.97 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.2322, allocations: 30.56 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.2322, allocations: 11.94 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.774e-05/0.2323, allocations: 163.1 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2323, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2323, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.2324, allocations: 37.7 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2324, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2325, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2325, allocations: 7.953 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.2325, allocations: 11.92 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.2327, allocations: 149.7 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.476e-05/0.2327, allocations: 26.59 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.233, allocations: 101.2 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2331, allocations: 30.56 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2331, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.2332, allocations: 49.53 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2333, allocations: 55.41 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.2333, allocations: 101.8 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2334, allocations: 25.83 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.2334, allocations: 88.14 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2334, allocations: 7.891 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.2334, allocations: 0 / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.2335, allocations: 314.8 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.2335, allocations: 0 / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.2335, allocations: 8 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.2336, allocations: 0 / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2336, allocations: 4 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.435e-05/0.2337, allocations: 45.69 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2337, allocations: 4 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2337, allocations: 0 / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2337, allocations: 0 / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.2338, allocations: 4 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2338, allocations: 3.938 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.2338, allocations: 0 / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2339, allocations: 15.89 kB / 0.9847 GB, free: 21.46 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 8.292e-05/0.234, allocations: 105.8 kB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.234, allocations: 4.031 kB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.2341, allocations: 48.81 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2341, allocations: 3.938 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2341, allocations: 0 / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2341, allocations: 0 / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.383e-05/0.2342, allocations: 161.6 kB / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2343, allocations: 0 / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.2343, allocations: 4 kB / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2343, allocations: 0 / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2343, allocations: 12.02 kB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2343, allocations: 0 / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2343, allocations: 0 / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.2344, allocations: 65 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.2345, allocations: 85.09 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2345, allocations: 0 / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.2345, allocations: 0 / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.2346, allocations: 4.031 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2346, allocations: 4.25 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.2346, allocations: 87.28 kB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2346, allocations: 3.938 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002684/0.2349, allocations: 23.98 kB / 0.9853 GB, free: 20.76 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.0003724/0.2353, allocations: 0.6281 MB / 0.9859 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.2354, allocations: 12 kB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2354, allocations: 0 / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.2354, allocations: 7.938 kB / 0.9859 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.2356, allocations: 7.938 kB / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.236, allocations: 200.1 kB / 0.9861 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2362, allocations: 0.677 MB / 0.9868 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.2362, allocations: 7.938 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.2363, allocations: 7.438 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2363, allocations: 4 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.2596, allocations: 1.442 MB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.2599, allocations: 216.4 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.71, allocations: 0 / 0.9884 GB, free: 17.61 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)