Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_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_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.0009115/0.0009115, allocations: 86.33 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.001105/0.001105, 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.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7417/0.7417, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 12 kB / 0.5036 GB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4186, allocations: 81.57 MB / 0.5832 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001409/0.42, allocations: 1.121 MB / 0.5843 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.4236, allocations: 2.614 MB / 0.5869 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.4237, allocations: 3.438 kB / 0.5869 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.4237, allocations: 1.406 kB / 0.5869 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.4238, allocations: 16.58 kB / 0.5869 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.427, allocations: 1.23 MB / 0.5881 GB, free: 1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.4271, allocations: 38.8 kB / 0.5881 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.4271, allocations: 6.516 kB / 0.5881 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.4272, allocations: 16.86 kB / 0.5881 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.098e-05/0.4272, allocations: 12.45 kB / 0.5882 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.4272, allocations: 1.062 kB / 0.5882 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.4296, allocations: 1.208 MB / 0.5893 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.4296, allocations: 6.906 kB / 0.5893 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.4297, allocations: 33.27 kB / 0.5894 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4309, allocations: 0.6788 MB / 0.59 GB, free: 468 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4309, allocations: 0 / 0.59 GB, free: 468 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4309, allocations: 5.156 kB / 0.59 GB, free: 464 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.4309, allocations: 0 / 0.59 GB, free: 464 kB / 430.1 MB 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.0005659/0.4315, allocations: 0.5056 MB / 0.5905 GB, free: 15.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4315, allocations: 10.62 kB / 0.5905 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.4316, allocations: 109.8 kB / 0.5907 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.4316, allocations: 85.7 kB / 0.5907 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4318, allocations: 252.4 kB / 0.591 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.4318, allocations: 151.3 kB / 0.5911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.4319, allocations: 155.9 kB / 0.5913 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.495e-05/0.432, allocations: 102.3 kB / 0.5914 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.432, allocations: 80.08 kB / 0.5914 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.432, allocations: 154.6 kB / 0.5916 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.4321, allocations: 150.6 kB / 0.5917 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.4322, allocations: 160 kB / 0.5919 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.4324, allocations: 461.1 kB / 0.5923 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.4325, allocations: 170.8 kB / 0.5925 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.4326, allocations: 80.14 kB / 0.5926 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.4326, allocations: 76.44 kB / 0.5926 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.4327, allocations: 106.5 kB / 0.5927 GB, free: 13.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4327, allocations: 0.9062 kB / 0.5927 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.267e-05/0.4327, allocations: 36.81 kB / 0.5928 GB, free: 13.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.4328, allocations: 136.2 kB / 0.5929 GB, free: 13.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4329, allocations: 131.7 kB / 0.593 GB, free: 13.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.433, allocations: 25.7 kB / 0.5931 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.433, allocations: 92.84 kB / 0.5931 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.433, allocations: 0 / 0.5931 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-06/0.433, allocations: 0 / 0.5931 GB, free: 13.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4331, allocations: 318.5 kB / 0.5934 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.4332, allocations: 8.469 kB / 0.5935 GB, free: 12.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.4332, allocations: 3.609 kB / 0.5935 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.4332, allocations: 7.469 kB / 0.5935 GB, free: 12.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4332, allocations: 0 / 0.5935 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.4334, allocations: 53.52 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4334, allocations: 5.625 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4334, allocations: 3.125 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4334, allocations: 0 / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-07/0.4334, allocations: 1.125 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4334, allocations: 1.031 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.4335, allocations: 1.375 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.4335, allocations: 1.375 kB / 0.5935 GB, free: 12.84 MB / 446.1 MB 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 8.63e-05/0.4336, allocations: 192 kB / 0.5937 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.4336, allocations: 108.2 kB / 0.5938 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.4337, allocations: 125.1 kB / 0.5939 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.4337, allocations: 176.8 kB / 0.5941 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-05/0.4338, allocations: 189.8 kB / 0.5943 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-05/0.4339, allocations: 182.5 kB / 0.5945 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.4341, allocations: 417.3 kB / 0.5949 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/0.4341, allocations: 105.9 kB / 0.595 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.4341, allocations: 103.2 kB / 0.5951 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.383e-05/0.4342, allocations: 182.4 kB / 0.5952 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.4343, allocations: 177 kB / 0.5954 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.853e-05/0.4343, allocations: 182.2 kB / 0.5956 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.037e-05/0.4344, allocations: 186.2 kB / 0.5957 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.4345, allocations: 307 kB / 0.596 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.4346, allocations: 186 kB / 0.5962 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.4347, allocations: 188.9 kB / 0.5964 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.4347, allocations: 106.6 kB / 0.5965 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.4348, allocations: 182.4 kB / 0.5967 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.4349, allocations: 106.6 kB / 0.5968 GB, free: 9.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.744e-05/0.4349, allocations: 98.58 kB / 0.5969 GB, free: 9.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4349, allocations: 0 / 0.5969 GB, free: 9.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009874/0.4359, allocations: 276.4 kB / 0.5971 GB, free: 9.195 MB / 446.1 MB 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.001235/0.4372, allocations: 1.13 MB / 0.5982 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.4373, allocations: 42.09 kB / 0.5983 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4373, allocations: 0 / 0.5983 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.4373, allocations: 1.422 kB / 0.5983 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.4377, allocations: 0.5275 MB / 0.5988 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.4386, allocations: 0.6768 MB / 0.5995 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.4388, allocations: 0.6822 MB / 0.6001 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.4389, allocations: 1.094 kB / 0.6001 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.4389, allocations: 18.97 kB / 0.6001 GB, free: 6.488 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4389, allocations: 0 / 0.6001 GB, free: 6.488 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.4593, allocations: 6.604 MB / 0.6066 GB, free: 3.824 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.4596, allocations: 281.9 kB / 0.6069 GB, free: 3.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.402, allocations: 0 / 0.6069 GB, free: 3.457 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: