Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.83 kB / 0.8127 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5526, allocations: 140.4 MB / 0.9498 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002054/0.5547, allocations: 1.36 MB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.5559, allocations: 1.083 MB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.556, allocations: 0 / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.556, allocations: 7.984 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.556, allocations: 8.938 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.5566, allocations: 208.7 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.5566, allocations: 33.83 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.5567, allocations: 2.719 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.5567, allocations: 14.47 kB / 0.9524 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.5568, allocations: 21.16 kB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.5568, allocations: 1.469 kB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.5573, allocations: 423.3 kB / 0.9528 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.5573, allocations: 5.328 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.5573, allocations: 13 kB / 0.9529 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.5576, allocations: 195.9 kB / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5576, allocations: 0 / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5576, allocations: 0 / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5576, allocations: 0 / 0.953 GB, free: 6.672 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003336/0.558, allocations: 399.6 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.558, allocations: 9 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.558, allocations: 36.19 kB / 0.9535 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.5581, allocations: 6.281 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.997e-05/0.5581, allocations: 165.7 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.5582, allocations: 1.844 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.5582, allocations: 2.156 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.258e-05/0.5583, allocations: 47.92 kB / 0.9537 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5583, allocations: 0 / 0.9537 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.5583, allocations: 4 kB / 0.9537 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5583, allocations: 1.062 kB / 0.9537 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.5583, allocations: 15.61 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.5585, allocations: 164.6 kB / 0.9539 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.5585, allocations: 38.52 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.5586, allocations: 15.36 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/0.5592, allocations: 0.9885 MB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.5592, allocations: 38.48 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5593, allocations: 4 kB / 0.9549 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000144/0.5594, allocations: 53.17 kB / 0.955 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.5594, allocations: 56.39 kB / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.56e-05/0.5595, allocations: 102.5 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.5595, allocations: 25.7 kB / 0.9551 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.5595, allocations: 89.16 kB / 0.9552 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.5595, allocations: 10.44 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.5596, allocations: 16.59 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.5596, allocations: 320.1 kB / 0.9556 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.5596, allocations: 9 kB / 0.9556 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.5597, allocations: 4.062 kB / 0.9556 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.5597, allocations: 18.61 kB / 0.9556 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5597, allocations: 0 / 0.9556 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.75e-05/0.5598, allocations: 61.16 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5598, allocations: 6.031 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.5598, allocations: 0 / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5598, allocations: 0 / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5599, allocations: 16.23 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.5599, allocations: 4 kB / 0.9557 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.56, allocations: 9.375 kB / 0.9557 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.56, allocations: 1.438 kB / 0.9557 GB, free: 3.742 MB / 0.7169 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.56, allocations: 107.2 kB / 0.9558 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.56, allocations: 5.375 kB / 0.9558 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.5601, allocations: 66.47 kB / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5602, allocations: 1.531 kB / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5602, allocations: 0 / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5602, allocations: 4.047 kB / 0.9559 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.137e-05/0.5602, allocations: 161.6 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5602, allocations: 3.938 kB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.5603, allocations: 23.73 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5603, allocations: 0 / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.5603, allocations: 5.094 kB / 0.956 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5603, allocations: 0 / 0.956 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5603, allocations: 0.8438 kB / 0.956 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.698e-05/0.5604, allocations: 81.56 kB / 0.9561 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.5604, allocations: 86.02 kB / 0.9562 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.5605, allocations: 1.125 kB / 0.9562 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.5605, allocations: 4 kB / 0.9562 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.5605, allocations: 6.266 kB / 0.9562 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.5605, allocations: 1 kB / 0.9562 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.5605, allocations: 85.55 kB / 0.9563 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5605, allocations: 0 / 0.9563 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002142/0.5608, allocations: 44.05 kB / 0.9563 GB, free: 3.055 MB / 0.7169 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003415/0.5611, allocations: 0.6709 MB / 0.957 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.781e-05/0.5612, allocations: 25.73 kB / 0.957 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5612, allocations: 0 / 0.957 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.5612, allocations: 13 kB / 0.957 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.5614, allocations: 8.75 kB / 0.957 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.5618, allocations: 199.6 kB / 0.9572 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.47e-05/0.5619, allocations: 0.6826 MB / 0.9579 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.5619, allocations: 6.047 kB / 0.9579 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.562, allocations: 18.69 kB / 0.9579 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.562, allocations: 0 / 0.9579 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7102/1.272, allocations: 2.169 MB / 0.96 GB, free: 408 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/12.16, allocations: 10.8 kB / 0.9601 GB, free: 404 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)