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.0008924/0.0008925, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009347/0.0009346, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9715/0.9715, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 8 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001627/0.2173, allocations: 1.133 MB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.2214, allocations: 2.638 MB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.2215, allocations: 7.938 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.2215, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.2216, allocations: 19.84 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.225, allocations: 1.236 MB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.2251, allocations: 47.73 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.2252, allocations: 0 / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.2252, allocations: 11.94 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.2252, allocations: 23.91 kB / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2252, allocations: 0 / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.2272, allocations: 1.24 MB / 0.5937 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2272, allocations: 11.86 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.2272, allocations: 33.7 kB / 0.5938 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.2281, allocations: 0.6982 MB / 0.5945 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2282, allocations: 4 kB / 0.5945 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.499e-06/0.2282, allocations: 4 kB / 0.5945 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2282, allocations: 0 / 0.5945 GB, free: 11.74 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.0005991/0.2288, allocations: 0.5067 MB / 0.595 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.2288, allocations: 12.75 kB / 0.595 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.2289, allocations: 105.8 kB / 0.5951 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.229, allocations: 79.19 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.2292, allocations: 255.9 kB / 0.5954 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.2292, allocations: 162.6 kB / 0.5955 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.2293, allocations: 154.5 kB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.977e-05/0.2294, allocations: 105 kB / 0.5958 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.2294, allocations: 75.28 kB / 0.5959 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.2295, allocations: 154.5 kB / 0.596 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.857e-05/0.2296, allocations: 158.5 kB / 0.5962 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.437e-05/0.2296, allocations: 154.6 kB / 0.5963 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.23, allocations: 465.9 kB / 0.5968 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.2301, allocations: 169.1 kB / 0.5969 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.2301, allocations: 84.14 kB / 0.597 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2302, allocations: 83.22 kB / 0.5971 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.2302, allocations: 105.8 kB / 0.5972 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.2302, allocations: 0 / 0.5972 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.039e-05/0.2303, allocations: 33.61 kB / 0.5972 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.2304, allocations: 126.7 kB / 0.5973 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2305, allocations: 136.3 kB / 0.5975 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2306, allocations: 29.7 kB / 0.5975 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.2306, allocations: 88.14 kB / 0.5976 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.2306, allocations: 0 / 0.5976 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.2306, allocations: 0 / 0.5976 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2308, allocations: 326.8 kB / 0.5979 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.2308, allocations: 3.938 kB / 0.5979 GB, free: 8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.2309, allocations: 11.94 kB / 0.5979 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.2309, allocations: 4 kB / 0.5979 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2309, allocations: 0 / 0.5979 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001197/0.231, allocations: 53.64 kB / 0.598 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.231, allocations: 4 kB / 0.598 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.2311, allocations: 4 kB / 0.598 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2311, allocations: 3.984 kB / 0.598 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2311, allocations: 0 / 0.598 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2311, allocations: 0 / 0.598 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.2311, allocations: 7.938 kB / 0.598 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2312, allocations: 4 kB / 0.598 GB, free: 7.902 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.0001179/0.2313, allocations: 196.4 kB / 0.5982 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.2313, allocations: 108.8 kB / 0.5983 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.2314, allocations: 112.8 kB / 0.5984 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/0.2315, allocations: 176.3 kB / 0.5985 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.525e-05/0.2315, allocations: 184.2 kB / 0.5987 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.065e-05/0.2316, allocations: 176.3 kB / 0.5989 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.2319, allocations: 421.1 kB / 0.5993 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/0.232, allocations: 105 kB / 0.5994 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.232, allocations: 112.9 kB / 0.5995 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-05/0.2321, allocations: 180.3 kB / 0.5997 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-05/0.2322, allocations: 176.3 kB / 0.5998 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.982e-05/0.2322, allocations: 184.5 kB / 0.6 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.192e-05/0.2323, allocations: 192.3 kB / 0.6002 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.2325, allocations: 315.6 kB / 0.6005 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.2326, allocations: 182 kB / 0.6007 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.2327, allocations: 188.2 kB / 0.6008 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.2327, allocations: 105 kB / 0.6009 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.2328, allocations: 180.2 kB / 0.6011 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.2329, allocations: 109 kB / 0.6012 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.233, allocations: 95.27 kB / 0.6013 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.233, allocations: 0 / 0.6013 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006712/0.2336, allocations: 279.8 kB / 0.6016 GB, free: 3.98 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.001407/0.2351, allocations: 1.136 MB / 0.6027 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.2352, allocations: 45.69 kB / 0.6027 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2352, allocations: 0 / 0.6027 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.2352, allocations: 0 / 0.6027 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.2357, allocations: 0.5263 MB / 0.6033 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2367, allocations: 0.6907 MB / 0.6039 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.237, allocations: 0.6848 MB / 0.6046 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.237, allocations: 4 kB / 0.6046 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2371, allocations: 15.48 kB / 0.6046 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2371, allocations: 0 / 0.6046 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3525/0.5896, allocations: 6.837 MB / 0.6113 GB, free: 47.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.5898, allocations: 272.7 kB / 0.6115 GB, free: 47.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.601, allocations: 0 / 0.6115 GB, free: 47.52 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: