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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.0008471/0.0008468, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008984/0.0008984, allocations: 168.7 kB / 15.95 MB, free: 204 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.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9897/0.9897, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 15.98 kB / 0.5071 GB, free: 4.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 82.31 MB / 0.5875 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001535/0.1967, allocations: 1.132 MB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.2007, allocations: 2.602 MB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.2007, allocations: 0 / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.2008, allocations: 3.984 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.2008, allocations: 15.86 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.2036, allocations: 1.22 MB / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.2037, allocations: 43.73 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2038, allocations: 3.938 kB / 0.5924 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.2038, allocations: 11.94 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.2038, allocations: 19.92 kB / 0.5925 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.2039, allocations: 0 / 0.5925 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.2055, allocations: 1.205 MB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.2056, allocations: 4 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.2056, allocations: 37.64 kB / 0.5937 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.2064, allocations: 0.6787 MB / 0.5943 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2064, allocations: 3.938 kB / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2064, allocations: 0 / 0.5943 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2064, allocations: 0 / 0.5943 GB, free: 11.81 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.0005714/0.207, allocations: 0.499 MB / 0.5948 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2071, allocations: 12.75 kB / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.2071, allocations: 109.8 kB / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.2072, allocations: 83.19 kB / 0.595 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2074, allocations: 252.2 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.2074, allocations: 166.4 kB / 0.5954 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.2075, allocations: 150.6 kB / 0.5956 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.2076, allocations: 105 kB / 0.5957 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.2076, allocations: 75.28 kB / 0.5957 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.2077, allocations: 154.6 kB / 0.5959 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.2077, allocations: 150.6 kB / 0.596 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.2078, allocations: 154.6 kB / 0.5962 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.2081, allocations: 473.8 kB / 0.5966 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.2082, allocations: 169.1 kB / 0.5968 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.2083, allocations: 80.14 kB / 0.5969 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2083, allocations: 75.28 kB / 0.5969 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.2084, allocations: 109.8 kB / 0.597 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2084, allocations: 8 kB / 0.5971 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.268e-05/0.2085, allocations: 33.55 kB / 0.5971 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.2085, allocations: 126.7 kB / 0.5972 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2087, allocations: 126 kB / 0.5973 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2087, allocations: 25.7 kB / 0.5974 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.2088, allocations: 100.1 kB / 0.5974 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.2088, allocations: 3.938 kB / 0.5975 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.2088, allocations: 0 / 0.5975 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2089, allocations: 326.8 kB / 0.5978 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.2089, allocations: 0 / 0.5978 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.2089, allocations: 7.984 kB / 0.5978 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.209, allocations: 8 kB / 0.5978 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.209, allocations: 0 / 0.5978 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001251/0.2091, allocations: 45.55 kB / 0.5978 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2091, allocations: 10.03 kB / 0.5978 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.2092, allocations: 3.984 kB / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.2092, allocations: 0 / 0.5978 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.2092, allocations: 4 kB / 0.5978 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2092, allocations: 4.062 kB / 0.5978 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2092, allocations: 0 / 0.5978 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2092, allocations: 0 / 0.5978 GB, free: 7.992 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.0001051/0.2093, allocations: 196.4 kB / 0.598 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.2094, allocations: 104.9 kB / 0.5981 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.2095, allocations: 116.8 kB / 0.5982 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/0.2095, allocations: 184.2 kB / 0.5984 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-05/0.2096, allocations: 176.3 kB / 0.5986 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/0.2097, allocations: 188.2 kB / 0.5988 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.2099, allocations: 409.2 kB / 0.5992 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.21, allocations: 112.9 kB / 0.5993 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.21, allocations: 101 kB / 0.5994 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.2101, allocations: 180.3 kB / 0.5995 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.2102, allocations: 184.2 kB / 0.5997 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.145e-05/0.2103, allocations: 180.3 kB / 0.5999 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.87e-05/0.2103, allocations: 184.5 kB / 0.6001 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2105, allocations: 315.8 kB / 0.6004 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.2106, allocations: 189.9 kB / 0.6005 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.2107, allocations: 180.3 kB / 0.6007 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2108, allocations: 108.9 kB / 0.6008 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.2109, allocations: 176.3 kB / 0.601 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.2109, allocations: 105 kB / 0.6011 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.211, allocations: 107.2 kB / 0.6012 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.211, allocations: 0 / 0.6012 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006633/0.2116, allocations: 271.8 kB / 0.6014 GB, free: 4.078 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.001214/0.2129, allocations: 1.128 MB / 0.6025 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.213, allocations: 41.64 kB / 0.6026 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.213, allocations: 4 kB / 0.6026 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.213, allocations: 3.938 kB / 0.6026 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.2135, allocations: 0.5263 MB / 0.6031 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.2144, allocations: 0.6768 MB / 0.6038 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2147, allocations: 0.6849 MB / 0.6044 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.2147, allocations: 4 kB / 0.6044 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.2147, allocations: 17.67 kB / 0.6045 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2147, allocations: 0 / 0.6045 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/0.5476, allocations: 6.609 MB / 0.6109 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.5478, allocations: 269.2 kB / 0.6112 GB, free: 47.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.576, allocations: 2.406 kB / 0.6112 GB, free: 47.44 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: