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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001383/0.001383, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001673/0.001673, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.602/2.602, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.69/1.69, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006282, allocations: 12.53 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2995, allocations: 82.3 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002555/0.3021, allocations: 1.123 MB / 0.5884 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.3093, allocations: 2.554 MB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.3094, allocations: 4 kB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.3095, allocations: 7.938 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3097, allocations: 15.95 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006487/0.3162, allocations: 1.226 MB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3164, allocations: 35.89 kB / 0.5922 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.3165, allocations: 11.97 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.3165, allocations: 11.94 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.3166, allocations: 15.94 kB / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3166, allocations: 0 / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.3206, allocations: 1.194 MB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.3207, allocations: 4 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.3208, allocations: 33.64 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.323, allocations: 0.7177 MB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.323, allocations: 4 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.366e-06/0.323, allocations: 0 / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.3231, allocations: 0 / 0.5941 GB, free: 12.06 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001276/0.3244, allocations: 0.5092 MB / 0.5946 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.3244, allocations: 8.031 kB / 0.5946 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.354e-05/0.3245, allocations: 105.8 kB / 0.5947 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3247, allocations: 91.14 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.3249, allocations: 262.1 kB / 0.5951 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.325, allocations: 154.6 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.3251, allocations: 154.6 kB / 0.5954 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3253, allocations: 104.9 kB / 0.5955 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.3253, allocations: 75.28 kB / 0.5955 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.3254, allocations: 150.6 kB / 0.5957 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.144e-05/0.3255, allocations: 158.6 kB / 0.5958 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.3256, allocations: 150.6 kB / 0.596 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.3261, allocations: 465.9 kB / 0.5964 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3262, allocations: 173.1 kB / 0.5966 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.3263, allocations: 79.28 kB / 0.5967 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/0.3264, allocations: 105.8 kB / 0.5968 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.325e-06/0.3264, allocations: 0 / 0.5968 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001248/0.3265, allocations: 33.61 kB / 0.5968 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.3266, allocations: 126.7 kB / 0.5969 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3269, allocations: 139.7 kB / 0.597 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3269, allocations: 25.7 kB / 0.5971 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.327, allocations: 96.08 kB / 0.5972 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.327, allocations: 0 / 0.5972 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.327, allocations: 0 / 0.5972 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3272, allocations: 326.8 kB / 0.5975 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.3272, allocations: 4 kB / 0.5975 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.3273, allocations: 4 kB / 0.5975 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.3273, allocations: 8 kB / 0.5975 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3274, allocations: 0 / 0.5975 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.3276, allocations: 49.61 kB / 0.5975 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.3276, allocations: 9.859 kB / 0.5975 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.3276, allocations: 8.062 kB / 0.5976 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3277, allocations: 0 / 0.5976 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.3277, allocations: 0 / 0.5976 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3277, allocations: 4 kB / 0.5976 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3277, allocations: 3.938 kB / 0.5976 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3278, allocations: 0 / 0.5976 GB, free: 8.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.3279, allocations: 193 kB / 0.5977 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.328, allocations: 104.9 kB / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.3281, allocations: 116.8 kB / 0.598 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-05/0.3282, allocations: 184.2 kB / 0.5981 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-05/0.3283, allocations: 176.3 kB / 0.5983 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.072e-05/0.3284, allocations: 184.2 kB / 0.5985 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.3287, allocations: 413.2 kB / 0.5989 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.3288, allocations: 105 kB / 0.599 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.3288, allocations: 112.9 kB / 0.5991 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.79e-05/0.3289, allocations: 180.2 kB / 0.5992 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.329, allocations: 184.2 kB / 0.5994 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.973e-05/0.3291, allocations: 176.3 kB / 0.5996 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.398e-05/0.3292, allocations: 184.5 kB / 0.5998 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.3294, allocations: 319.7 kB / 0.6001 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3296, allocations: 190 kB / 0.6003 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3297, allocations: 180.2 kB / 0.6004 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3298, allocations: 101 kB / 0.6005 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3299, allocations: 188.2 kB / 0.6007 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.33, allocations: 105 kB / 0.6008 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.727e-05/0.3301, allocations: 99.17 kB / 0.6009 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3301, allocations: 3.938 kB / 0.6009 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001399/0.3315, allocations: 279.8 kB / 0.6012 GB, free: 4.383 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 (0): * Single equations (assignments): 0 * 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.002507/0.3341, allocations: 1.132 MB / 0.6023 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.3342, allocations: 41.7 kB / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3343, allocations: 0 / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.3343, allocations: 0 / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.3348, allocations: 0.5334 MB / 0.6028 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3362, allocations: 0.5406 MB / 0.6034 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3366, allocations: 0.6926 MB / 0.604 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.3366, allocations: 7.922 kB / 0.604 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3367, allocations: 19.42 kB / 0.6041 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/0.3367, allocations: 0 / 0.6041 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5458/0.8825, allocations: 6.75 MB / 0.6107 GB, free: 47.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.8828, allocations: 259.2 kB / 0.6109 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.443/4.326, allocations: 6.656 kB / 0.6109 GB, free: 47.32 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: