Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_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.007773/0.007773, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8361/0.8361, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 0.5809 GB, free: 7.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4422, allocations: 80.21 MB / 0.6593 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002411/0.4446, allocations: 1.341 MB / 0.6606 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4463, allocations: 1.074 MB / 0.6616 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.4463, allocations: 0 / 0.6616 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.4464, allocations: 1.359 kB / 0.6616 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.4464, allocations: 10.06 kB / 0.6616 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.4471, allocations: 216.9 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.4471, allocations: 34.14 kB / 0.6619 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.4472, allocations: 2.984 kB / 0.6619 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.4473, allocations: 12.11 kB / 0.6619 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.4473, allocations: 21.05 kB / 0.6619 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4474, allocations: 1.438 kB / 0.6619 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.4481, allocations: 422.8 kB / 0.6623 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.4481, allocations: 2.328 kB / 0.6623 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.4481, allocations: 21.62 kB / 0.6623 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.4485, allocations: 193 kB / 0.6625 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4485, allocations: 0 / 0.6625 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4485, allocations: 0 / 0.6625 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.4485, allocations: 0 / 0.6625 GB, free: 7.875 MB / 0.4981 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.0004221/0.4489, allocations: 392.2 kB / 0.6629 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.449, allocations: 9.094 kB / 0.6629 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.449, allocations: 32.69 kB / 0.6629 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.449, allocations: 5.859 kB / 0.6629 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.4491, allocations: 167.9 kB / 0.6631 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4492, allocations: 5.25 kB / 0.6631 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4492, allocations: 6.984 kB / 0.6631 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.4493, allocations: 34.17 kB / 0.6631 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4493, allocations: 1.188 kB / 0.6631 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4493, allocations: 4 kB / 0.6631 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4493, allocations: 4.75 kB / 0.6632 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.4494, allocations: 10.03 kB / 0.6632 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.4495, allocations: 161.4 kB / 0.6633 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/0.4496, allocations: 51.45 kB / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.4496, allocations: 11.45 kB / 0.6634 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.4503, allocations: 0.9867 MB / 0.6643 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.4504, allocations: 35.88 kB / 0.6644 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.4504, allocations: 0 / 0.6644 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.4506, allocations: 60.78 kB / 0.6644 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.4506, allocations: 51.41 kB / 0.6645 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.4506, allocations: 107.1 kB / 0.6646 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.4507, allocations: 25.7 kB / 0.6646 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.4507, allocations: 85.52 kB / 0.6647 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.4507, allocations: 25.06 kB / 0.6647 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.4508, allocations: 17.41 kB / 0.6647 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.4508, allocations: 312.2 kB / 0.665 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.4508, allocations: 13.02 kB / 0.665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.4508, allocations: 7.719 kB / 0.665 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.4509, allocations: 19.08 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4509, allocations: 7.938 kB / 0.6651 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7e-05/0.451, allocations: 49.73 kB / 0.6651 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.451, allocations: 5.219 kB / 0.6651 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.451, allocations: 1.438 kB / 0.6651 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.451, allocations: 0 / 0.6651 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.4511, allocations: 20.11 kB / 0.6651 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4511, allocations: 0 / 0.6651 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.4512, allocations: 7.953 kB / 0.6652 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4512, allocations: 10.58 kB / 0.6652 GB, free: 4.961 MB / 0.4981 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.768e-05/0.4512, allocations: 115.3 kB / 0.6653 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.4513, allocations: 1.5 kB / 0.6653 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.4514, allocations: 59.94 kB / 0.6653 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4514, allocations: 3.984 kB / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4514, allocations: 1.438 kB / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4514, allocations: 0 / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.796e-05/0.4515, allocations: 164.4 kB / 0.6655 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4515, allocations: 1.469 kB / 0.6655 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.4516, allocations: 18.92 kB / 0.6655 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4516, allocations: 0 / 0.6655 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4516, allocations: 1.281 kB / 0.6655 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4516, allocations: 0 / 0.6655 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4516, allocations: 1.219 kB / 0.6655 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.4517, allocations: 81.73 kB / 0.6656 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.4517, allocations: 82.08 kB / 0.6657 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4517, allocations: 5.188 kB / 0.6657 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.4517, allocations: 0 / 0.6657 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.4518, allocations: 2.625 kB / 0.6657 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4518, allocations: 1.406 kB / 0.6657 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.359e-05/0.4518, allocations: 88.45 kB / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4518, allocations: 0 / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002227/0.452, allocations: 39.39 kB / 0.6658 GB, free: 4.289 MB / 0.4981 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.0003727/0.4524, allocations: 0.6767 MB / 0.6665 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4525, allocations: 13.34 kB / 0.6665 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4525, allocations: 0.9375 kB / 0.6665 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.4526, allocations: 19.64 kB / 0.6665 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.4528, allocations: 4.781 kB / 0.6665 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.4533, allocations: 200.7 kB / 0.6667 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.4534, allocations: 0.6793 MB / 0.6674 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.4535, allocations: 6.875 kB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.4535, allocations: 14.28 kB / 0.6674 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4535, allocations: 0 / 0.6674 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.4786, allocations: 2.176 MB / 0.6695 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.285, allocations: 9.844 kB / 0.6695 GB, free: 1.645 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)