Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.007211/0.007211, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001791/0.001791, allocations: 193.8 kB / 16.67 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8069/0.8069, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3719, allocations: 80.21 MB / 0.6593 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002047/0.3739, allocations: 1.365 MB / 0.6606 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3762, allocations: 1.786 MB / 0.6623 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.3762, allocations: 1.125 kB / 0.6623 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.335e-05/0.3763, allocations: 8.953 kB / 0.6624 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.3765, allocations: 42.83 kB / 0.6624 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.3788, allocations: 1.133 MB / 0.6635 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.3789, allocations: 53.27 kB / 0.6636 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.3789, allocations: 1.469 kB / 0.6636 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.379, allocations: 30.59 kB / 0.6636 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.3791, allocations: 32.45 kB / 0.6636 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3791, allocations: 1.062 kB / 0.6636 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3801, allocations: 0.8916 MB / 0.6645 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.3802, allocations: 72.19 kB / 0.6646 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3802, allocations: 58.59 kB / 0.6646 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008662/0.3811, allocations: 0.8854 MB / 0.6655 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3811, allocations: 0.9688 kB / 0.6655 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3811, allocations: 0 / 0.6655 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3811, allocations: 0 / 0.6655 GB, free: 5.949 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005096/0.3816, allocations: 0.5993 MB / 0.6661 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3817, allocations: 10.03 kB / 0.6661 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.3817, allocations: 43.58 kB / 0.6661 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.3818, allocations: 25.69 kB / 0.6661 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3819, allocations: 225 kB / 0.6664 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.3819, allocations: 3.938 kB / 0.6664 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.3819, allocations: 5.219 kB / 0.6664 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.382, allocations: 102.5 kB / 0.6665 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3821, allocations: 11.94 kB / 0.6665 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.3821, allocations: 0 / 0.6665 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3821, allocations: 1.219 kB / 0.6665 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.3821, allocations: 75.88 kB / 0.6665 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3823, allocations: 281 kB / 0.6668 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.3824, allocations: 123.1 kB / 0.6669 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.3825, allocations: 105.7 kB / 0.667 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3825, allocations: 1.438 kB / 0.667 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3826, allocations: 38.55 kB / 0.6671 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 9.82e-07/0.3826, allocations: 0 / 0.6671 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003301/0.3829, allocations: 337.4 kB / 0.6674 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.3829, allocations: 51.41 kB / 0.6674 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3831, allocations: 259 kB / 0.6677 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.3831, allocations: 25.7 kB / 0.6677 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.3832, allocations: 127.5 kB / 0.6678 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.3832, allocations: 111.1 kB / 0.6679 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.3833, allocations: 32.3 kB / 0.668 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.3833, allocations: 348.3 kB / 0.6683 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.3834, allocations: 75.44 kB / 0.6684 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.3835, allocations: 75.59 kB / 0.6684 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3836, allocations: 203.2 kB / 0.6686 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3836, allocations: 0 / 0.6686 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001932/0.3838, allocations: 221.6 kB / 0.6689 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3838, allocations: 5.031 kB / 0.6689 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3839, allocations: 1.375 kB / 0.6689 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3839, allocations: 5.25 kB / 0.6689 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3839, allocations: 0 / 0.6689 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3839, allocations: 3.938 kB / 0.6689 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3839, allocations: 22.22 kB / 0.6689 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3839, allocations: 1.188 kB / 0.6689 GB, free: 3.348 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.783e-05/0.384, allocations: 159.4 kB / 0.669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.3841, allocations: 24.44 kB / 0.6691 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3843, allocations: 259.2 kB / 0.6693 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3843, allocations: 4.031 kB / 0.6693 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3843, allocations: 0.875 kB / 0.6693 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3843, allocations: 0 / 0.6693 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.3845, allocations: 282.2 kB / 0.6696 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3845, allocations: 0 / 0.6696 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3845, allocations: 1.531 kB / 0.6696 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3845, allocations: 0 / 0.6696 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3845, allocations: 5.297 kB / 0.6696 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3845, allocations: 0 / 0.6696 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3845, allocations: 0 / 0.6696 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3847, allocations: 265.5 kB / 0.6698 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.3848, allocations: 107.1 kB / 0.6699 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3848, allocations: 1.188 kB / 0.6699 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.385e-05/0.3848, allocations: 4 kB / 0.67 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.3849, allocations: 5.391 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3849, allocations: 1.281 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001257/0.385, allocations: 190 kB / 0.6701 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.385, allocations: 1.094 kB / 0.6701 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005468/0.3856, allocations: 222.9 kB / 0.6704 GB, free: 2.371 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008845/0.3864, allocations: 1.02 MB / 0.6713 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3867, allocations: 267.4 kB / 0.6716 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3867, allocations: 0 / 0.6716 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3868, allocations: 179 kB / 0.6718 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3871, allocations: 21.23 kB / 0.6718 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3891, allocations: 2.587 MB / 0.6743 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3895, allocations: 0.7645 MB / 0.6751 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.3896, allocations: 2.344 kB / 0.6751 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.3896, allocations: 56.69 kB / 0.6751 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.3896, allocations: 0 / 0.6751 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3598/0.7494, allocations: 7.707 MB / 0.6827 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.885/9.634, allocations: 10.17 kB / 0.6827 GB, free: 11.05 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)