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.001401/0.001401, allocations: 100.1 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.001874/0.001874, allocations: 177.3 kB / 15.95 MB, free: 216 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.133/2.133, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.171/1.171, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005212, allocations: 12.72 kB / 0.5034 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6317, allocations: 81.58 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001926/0.6337, allocations: 1.109 MB / 0.5841 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005259/0.6389, allocations: 2.545 MB / 0.5866 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.639, allocations: 0 / 0.5866 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.6391, allocations: 1.453 kB / 0.5866 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.6392, allocations: 11.53 kB / 0.5866 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004696/0.6439, allocations: 1.215 MB / 0.5878 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.644, allocations: 30.42 kB / 0.5878 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.644, allocations: 2.562 kB / 0.5878 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.6441, allocations: 16.64 kB / 0.5878 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.6442, allocations: 12.91 kB / 0.5879 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6442, allocations: 1.062 kB / 0.5879 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.6474, allocations: 1.154 MB / 0.589 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.6474, allocations: 6.875 kB / 0.589 GB, free: 500 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.6475, allocations: 37.02 kB / 0.589 GB, free: 460 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.6492, allocations: 0.6978 MB / 0.5897 GB, free: 316 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6492, allocations: 0 / 0.5897 GB, free: 316 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6493, allocations: 0.875 kB / 0.5897 GB, free: 316 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.6493, allocations: 0 / 0.5897 GB, free: 316 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.0007854/0.6501, allocations: 0.4998 MB / 0.5902 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.6501, allocations: 8.844 kB / 0.5902 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.6502, allocations: 106.8 kB / 0.5903 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.506e-05/0.6503, allocations: 89.66 kB / 0.5904 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.6505, allocations: 253.3 kB / 0.5906 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.6506, allocations: 154.5 kB / 0.5908 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.6507, allocations: 150.6 kB / 0.5909 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.042e-05/0.6508, allocations: 106.5 kB / 0.591 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.6508, allocations: 75.28 kB / 0.5911 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.6509, allocations: 155.4 kB / 0.5912 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-05/0.651, allocations: 151.3 kB / 0.5914 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.6511, allocations: 151.2 kB / 0.5915 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.6515, allocations: 465.2 kB / 0.592 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.6517, allocations: 178.4 kB / 0.5922 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.6517, allocations: 75.94 kB / 0.5922 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.6518, allocations: 107.5 kB / 0.5923 GB, free: 13.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6518, allocations: 0 / 0.5923 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.692e-05/0.6519, allocations: 33.83 kB / 0.5924 GB, free: 13.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.652, allocations: 126.7 kB / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.6522, allocations: 137 kB / 0.5926 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.6522, allocations: 29.7 kB / 0.5926 GB, free: 13.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.6523, allocations: 87.67 kB / 0.5927 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.6523, allocations: 0.7812 kB / 0.5927 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.6523, allocations: 0 / 0.5927 GB, free: 13.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6525, allocations: 322.8 kB / 0.593 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.6525, allocations: 7.438 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.6526, allocations: 4.516 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.6526, allocations: 7.531 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6526, allocations: 4.875 kB / 0.5931 GB, free: 12.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001685/0.6528, allocations: 44.28 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6528, allocations: 10.06 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.6529, allocations: 2.969 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6529, allocations: 0 / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-06/0.6529, allocations: 1.625 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6529, allocations: 0 / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.6529, allocations: 5.609 kB / 0.5931 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.653, allocations: 0.75 kB / 0.5931 GB, free: 12.78 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 0.0001502/0.6531, allocations: 196.3 kB / 0.5933 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.6532, allocations: 112.3 kB / 0.5934 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.824e-05/0.6533, allocations: 108.9 kB / 0.5935 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.812e-05/0.6534, allocations: 181.9 kB / 0.5937 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/0.6535, allocations: 181.8 kB / 0.5939 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-05/0.6536, allocations: 177.7 kB / 0.594 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.654, allocations: 420.3 kB / 0.5944 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.797e-05/0.654, allocations: 102.9 kB / 0.5945 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.6541, allocations: 110.5 kB / 0.5946 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.495e-05/0.6542, allocations: 181.9 kB / 0.5948 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.6543, allocations: 181.8 kB / 0.595 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.401e-05/0.6544, allocations: 186.5 kB / 0.5952 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-05/0.6545, allocations: 176.8 kB / 0.5953 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.6547, allocations: 307.4 kB / 0.5956 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6548, allocations: 189.2 kB / 0.5958 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6549, allocations: 182.2 kB / 0.596 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.6551, allocations: 111 kB / 0.5961 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.6552, allocations: 182.6 kB / 0.5963 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.6552, allocations: 107.1 kB / 0.5964 GB, free: 9.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.779e-05/0.6553, allocations: 96.44 kB / 0.5964 GB, free: 9.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6553, allocations: 0 / 0.5964 GB, free: 9.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001351/0.6567, allocations: 272.7 kB / 0.5967 GB, free: 9.148 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.00186/0.6586, allocations: 1.143 MB / 0.5978 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.6587, allocations: 37.56 kB / 0.5979 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6587, allocations: 0 / 0.5979 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.6587, allocations: 1.406 kB / 0.5979 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.6593, allocations: 0.5281 MB / 0.5984 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.6604, allocations: 0.5524 MB / 0.5989 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.6608, allocations: 0.685 MB / 0.5996 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.773e-05/0.6608, allocations: 0.6094 kB / 0.5996 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.6609, allocations: 13.84 kB / 0.5996 GB, free: 6.477 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6609, allocations: 0.875 kB / 0.5996 GB, free: 6.477 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.7026, allocations: 6.556 MB / 0.606 GB, free: 3.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/0.703, allocations: 261.5 kB / 0.6063 GB, free: 3.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/4.063, allocations: 0 / 0.6063 GB, free: 3.586 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: