Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.01318/0.01318, allocations: 102 kB / 15.73 MB, free: 6.051 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.00255/0.00255, allocations: 195 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.91 kB / 0.5852 GB, free: 3.738 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4589, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002642/0.4615, allocations: 1.357 MB / 0.6656 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.4636, allocations: 1.071 MB / 0.6666 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.4636, allocations: 1.094 kB / 0.6666 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.4637, allocations: 3.938 kB / 0.6666 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.4638, allocations: 5.188 kB / 0.6666 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4649, allocations: 215 kB / 0.6668 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.465, allocations: 28.95 kB / 0.6668 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.4651, allocations: 2.281 kB / 0.6668 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.4652, allocations: 15.47 kB / 0.6669 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.4653, allocations: 17.91 kB / 0.6669 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4653, allocations: 1.5 kB / 0.6669 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008655/0.4662, allocations: 419.9 kB / 0.6673 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.4662, allocations: 5.094 kB / 0.6673 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.4662, allocations: 15.98 kB / 0.6673 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.4668, allocations: 199 kB / 0.6675 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4668, allocations: 0 / 0.6675 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.278e-06/0.4668, allocations: 0 / 0.6675 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4668, allocations: 5.375 kB / 0.6675 GB, free: 4.824 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.0005342/0.4673, allocations: 382.2 kB / 0.6679 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4674, allocations: 9.281 kB / 0.6679 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.4674, allocations: 31.97 kB / 0.6679 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.4675, allocations: 10.38 kB / 0.6679 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.4676, allocations: 166.7 kB / 0.6681 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4676, allocations: 9.344 kB / 0.6681 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4676, allocations: 1.812 kB / 0.6681 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4678, allocations: 39.28 kB / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4678, allocations: 0 / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4678, allocations: 0 / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4678, allocations: 1.156 kB / 0.6681 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.4679, allocations: 20.83 kB / 0.6681 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.468, allocations: 160 kB / 0.6683 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4681, allocations: 50.06 kB / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.4682, allocations: 15.7 kB / 0.6684 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.469, allocations: 0.9863 MB / 0.6693 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.469, allocations: 30.56 kB / 0.6693 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4691, allocations: 5.344 kB / 0.6693 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001931/0.4693, allocations: 59.91 kB / 0.6694 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4693, allocations: 52.38 kB / 0.6695 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.4694, allocations: 107 kB / 0.6696 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4694, allocations: 25.7 kB / 0.6696 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.4694, allocations: 89.83 kB / 0.6697 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.4695, allocations: 9.453 kB / 0.6697 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.4695, allocations: 17.03 kB / 0.6697 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.4696, allocations: 316.3 kB / 0.67 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.4696, allocations: 7.703 kB / 0.67 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.4696, allocations: 4.562 kB / 0.67 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.4697, allocations: 19.2 kB / 0.67 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4697, allocations: 3.938 kB / 0.67 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.459e-05/0.4698, allocations: 57.5 kB / 0.6701 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4698, allocations: 9.562 kB / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4698, allocations: 0 / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4698, allocations: 0 / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4699, allocations: 20.48 kB / 0.6701 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.47, allocations: 0 / 0.6701 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.47, allocations: 1.375 kB / 0.6701 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.47, allocations: 1.344 kB / 0.6701 GB, free: 1.91 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 6.246e-05/0.4701, allocations: 111 kB / 0.6702 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.4701, allocations: 1.375 kB / 0.6702 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.4702, allocations: 72.48 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4702, allocations: 1.062 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4702, allocations: 0 / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4702, allocations: 1.312 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.4703, allocations: 163.7 kB / 0.6704 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4704, allocations: 5.25 kB / 0.6705 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.4704, allocations: 18.52 kB / 0.6705 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4705, allocations: 1.406 kB / 0.6705 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4705, allocations: 0 / 0.6705 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4705, allocations: 1.188 kB / 0.6705 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4705, allocations: 8 kB / 0.6705 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.394e-05/0.4706, allocations: 78.5 kB / 0.6706 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.4706, allocations: 82.3 kB / 0.6706 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4706, allocations: 9.188 kB / 0.6706 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.4707, allocations: 0 / 0.6706 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.4707, allocations: 5.344 kB / 0.6706 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4707, allocations: 5.391 kB / 0.6707 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.4707, allocations: 93.5 kB / 0.6707 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4707, allocations: 0 / 0.6707 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.471, allocations: 44.55 kB / 0.6708 GB, free: 1.215 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.0004187/0.4714, allocations: 0.655 MB / 0.6714 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.4716, allocations: 21.56 kB / 0.6714 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4716, allocations: 4 kB / 0.6715 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.4716, allocations: 11.86 kB / 0.6715 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4719, allocations: 12.94 kB / 0.6715 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.4724, allocations: 198.8 kB / 0.6717 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.4726, allocations: 0.6794 MB / 0.6723 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4726, allocations: 11.61 kB / 0.6723 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.4727, allocations: 14.31 kB / 0.6724 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4727, allocations: 0 / 0.6724 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4935, allocations: 2.183 MB / 0.6745 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.222, allocations: 18.77 kB / 0.6745 GB, free: 14.57 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)