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.0008657/0.0008657, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000961/0.0009611, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7407/0.7407, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003644, allocations: 8.562 kB / 0.5036 GB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4511, allocations: 81.57 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001419/0.4525, allocations: 1.066 MB / 0.5843 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.454, allocations: 0.9969 MB / 0.5852 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.454, allocations: 0 / 0.5852 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.4541, allocations: 1.984 kB / 0.5852 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.4541, allocations: 6.203 kB / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.4546, allocations: 152 kB / 0.5854 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.939e-05/0.4547, allocations: 31.42 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.4547, allocations: 2.578 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.4548, allocations: 8.625 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.4548, allocations: 19.98 kB / 0.5854 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4549, allocations: 2.219 kB / 0.5854 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.4556, allocations: 403.3 kB / 0.5858 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.4556, allocations: 2.469 kB / 0.5858 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.4556, allocations: 32.89 kB / 0.5859 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.4558, allocations: 128 kB / 0.586 GB, free: 2.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4559, allocations: 0 / 0.586 GB, free: 2.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4559, allocations: 0 / 0.586 GB, free: 2.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4559, allocations: 0.8125 kB / 0.586 GB, free: 2.281 MB / 430.1 MB 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.0003603/0.4562, allocations: 385.4 kB / 0.5864 GB, free: 1.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4563, allocations: 10.28 kB / 0.5864 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.4563, allocations: 31.08 kB / 0.5864 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.4564, allocations: 11 kB / 0.5864 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.4564, allocations: 170.3 kB / 0.5866 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4565, allocations: 4.812 kB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.4565, allocations: 1.688 kB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.4566, allocations: 35.28 kB / 0.5866 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.4566, allocations: 0 / 0.5866 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.4566, allocations: 4.812 kB / 0.5866 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4566, allocations: 1.062 kB / 0.5866 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.4567, allocations: 9.984 kB / 0.5866 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.4568, allocations: 165.8 kB / 0.5868 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.4569, allocations: 49.5 kB / 0.5868 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.4569, allocations: 11.39 kB / 0.5868 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.4576, allocations: 0.9872 MB / 0.5878 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.4577, allocations: 31.78 kB / 0.5878 GB, free: 180 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4577, allocations: 0 / 0.5878 GB, free: 180 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.4578, allocations: 69.11 kB / 0.5879 GB, free: 128 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.4579, allocations: 52.03 kB / 0.5879 GB, free: 64 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.458, allocations: 106.3 kB / 0.588 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.458, allocations: 25.7 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.458, allocations: 89.47 kB / 0.5882 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.4581, allocations: 11.19 kB / 0.5882 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.4581, allocations: 0 / 0.5882 GB, free: 15.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4582, allocations: 321.9 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.4582, allocations: 9.281 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.4583, allocations: 5.703 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.4583, allocations: 9.078 kB / 0.5885 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4583, allocations: 0 / 0.5885 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.659e-05/0.4584, allocations: 51.92 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4584, allocations: 13.64 kB / 0.5886 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4584, allocations: 0 / 0.5886 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4585, allocations: 0.7188 kB / 0.5886 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4586, allocations: 18.42 kB / 0.5886 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4586, allocations: 0.6094 kB / 0.5886 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.4586, allocations: 1.281 kB / 0.5886 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.4586, allocations: 1.594 kB / 0.5886 GB, free: 15.45 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.322e-05/0.4587, allocations: 116 kB / 0.5887 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.4587, allocations: 2.406 kB / 0.5887 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.4589, allocations: 67.02 kB / 0.5888 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4589, allocations: 1.875 kB / 0.5888 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4589, allocations: 0.75 kB / 0.5888 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4589, allocations: 0 / 0.5888 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.459, allocations: 165.2 kB / 0.5889 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.459, allocations: 0.8438 kB / 0.5889 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.4591, allocations: 18.27 kB / 0.5889 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4591, allocations: 0 / 0.5889 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4591, allocations: 1.469 kB / 0.5889 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4591, allocations: 1.031 kB / 0.5889 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4592, allocations: 4 kB / 0.5889 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4593, allocations: 78.38 kB / 0.589 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.4593, allocations: 82.72 kB / 0.5891 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4594, allocations: 1.812 kB / 0.5891 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.4594, allocations: 0 / 0.5891 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.4594, allocations: 3.266 kB / 0.5891 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4594, allocations: 1.422 kB / 0.5891 GB, free: 14.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.4595, allocations: 90.83 kB / 0.5892 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4595, allocations: 0 / 0.5892 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.4597, allocations: 43.62 kB / 0.5892 GB, free: 14.8 MB / 446.1 MB 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 (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.0005501/0.4603, allocations: 0.6631 MB / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.687e-05/0.4604, allocations: 25.44 kB / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4604, allocations: 4 kB / 0.5899 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.4604, allocations: 16.33 kB / 0.5899 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.4607, allocations: 8.766 kB / 0.5899 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.4611, allocations: 210 kB / 0.5901 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4614, allocations: 0.6835 MB / 0.5908 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.4615, allocations: 2.953 kB / 0.5908 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.4615, allocations: 13.05 kB / 0.5908 GB, free: 13.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4615, allocations: 3.938 kB / 0.5908 GB, free: 13.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.4753, allocations: 1.934 MB / 0.5927 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.4756, allocations: 261.2 kB / 0.593 GB, free: 12.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.208, allocations: 3.453 kB / 0.593 GB, free: 12.77 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: