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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001641/0.001641, allocations: 99.86 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.00235/0.002349, 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.255/2.255, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.564/1.564, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 12 kB / 0.507 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2842, allocations: 82.3 MB / 0.5873 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003222/0.2875, allocations: 1.119 MB / 0.5884 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.2946, allocations: 2.565 MB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.2947, allocations: 0 / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.2948, allocations: 3.938 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.2949, allocations: 15.95 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005947/0.3009, allocations: 1.233 MB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3011, allocations: 31.89 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.3012, allocations: 3.984 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.3012, allocations: 15.94 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.3013, allocations: 11.94 kB / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3013, allocations: 7.938 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00466/0.306, allocations: 1.186 MB / 0.5934 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.3061, allocations: 12 kB / 0.5934 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.3062, allocations: 33.64 kB / 0.5934 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.309, allocations: 0.7138 MB / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.309, allocations: 0 / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.579e-06/0.309, allocations: 0 / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.3091, allocations: 0 / 0.5941 GB, free: 11.94 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.001414/0.3105, allocations: 0.5106 MB / 0.5946 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.059e-05/0.3106, allocations: 16.69 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.318e-05/0.3107, allocations: 105.8 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3108, allocations: 91.14 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.3111, allocations: 253 kB / 0.5951 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.3112, allocations: 154.5 kB / 0.5952 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.3113, allocations: 154.6 kB / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3114, allocations: 104.9 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.3115, allocations: 75.28 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.3116, allocations: 154.6 kB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.223e-05/0.3117, allocations: 150.6 kB / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.3118, allocations: 154.6 kB / 0.596 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.3123, allocations: 465.9 kB / 0.5964 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3125, allocations: 177.1 kB / 0.5966 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3125, allocations: 75.28 kB / 0.5967 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.104e-05/0.3126, allocations: 109.8 kB / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 4.057e-06/0.3126, allocations: 0 / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001296/0.3127, allocations: 37.55 kB / 0.5968 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.3128, allocations: 126.7 kB / 0.5969 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.3131, allocations: 138 kB / 0.597 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3131, allocations: 25.7 kB / 0.5971 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.3132, allocations: 92.14 kB / 0.5972 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.3132, allocations: 0 / 0.5972 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.3133, allocations: 3.938 kB / 0.5972 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3134, allocations: 318.8 kB / 0.5975 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.3135, allocations: 8 kB / 0.5975 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.3135, allocations: 4 kB / 0.5975 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.3136, allocations: 8 kB / 0.5975 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3136, allocations: 4.031 kB / 0.5975 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002153/0.3138, allocations: 49.61 kB / 0.5975 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3139, allocations: 4 kB / 0.5975 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/0.3139, allocations: 7.984 kB / 0.5976 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3139, allocations: 0 / 0.5976 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.314, allocations: 0 / 0.5976 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.314, allocations: 0 / 0.5976 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.314, allocations: 3.938 kB / 0.5976 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.314, allocations: 4 kB / 0.5976 GB, free: 8.184 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.000165/0.3142, allocations: 189.1 kB / 0.5977 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/0.3143, allocations: 112.8 kB / 0.5978 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.3144, allocations: 112.8 kB / 0.598 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/0.3145, allocations: 184.2 kB / 0.5981 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.385e-05/0.3147, allocations: 176.3 kB / 0.5983 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-05/0.3148, allocations: 176.3 kB / 0.5985 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.3151, allocations: 429 kB / 0.5989 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.694e-05/0.3152, allocations: 105 kB / 0.599 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.3153, allocations: 104.9 kB / 0.5991 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.3154, allocations: 180.3 kB / 0.5992 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.3155, allocations: 180.3 kB / 0.5994 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.925e-05/0.3156, allocations: 184.2 kB / 0.5996 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001007/0.3157, allocations: 180.5 kB / 0.5998 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.316, allocations: 319.6 kB / 0.6001 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3161, allocations: 185.9 kB / 0.6002 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3162, allocations: 184.2 kB / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3164, allocations: 112.9 kB / 0.6005 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.3165, allocations: 180.2 kB / 0.6007 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.3166, allocations: 105 kB / 0.6008 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.506e-05/0.3167, allocations: 97.61 kB / 0.6009 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3167, allocations: 0 / 0.6009 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001555/0.3182, allocations: 283.8 kB / 0.6012 GB, free: 4.258 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.00264/0.3209, allocations: 1.132 MB / 0.6023 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.3211, allocations: 41.69 kB / 0.6023 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.3211, allocations: 0 / 0.6023 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.3212, allocations: 7.938 kB / 0.6023 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.3218, allocations: 0.5296 MB / 0.6028 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3234, allocations: 0.5502 MB / 0.6034 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.3239, allocations: 0.6848 MB / 0.604 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.3239, allocations: 4 kB / 0.604 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.324, allocations: 19.42 kB / 0.6041 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.324, allocations: 0 / 0.6041 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5438/0.8678, allocations: 6.762 MB / 0.6107 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.8682, allocations: 266.8 kB / 0.6109 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.085/4.954, allocations: 2.906 kB / 0.6109 GB, free: 47.25 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: