Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_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_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.001266/0.001266, allocations: 99.47 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.001689/0.001689, allocations: 177.3 kB / 15.94 MB, free: 220 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.057/2.057, 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.103/1.103, allocations: 132.3 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000584/0.0005842, allocations: 9.031 kB / 0.5034 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.59, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001803/0.5918, allocations: 1.119 MB / 0.5841 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005394/0.5972, allocations: 2.574 MB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.5973, allocations: 0.75 kB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.5974, allocations: 5.391 kB / 0.5866 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.5975, allocations: 16.39 kB / 0.5867 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00567/0.6032, allocations: 1.233 MB / 0.5879 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.6033, allocations: 31.73 kB / 0.5879 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.241e-05/0.6034, allocations: 3.672 kB / 0.5879 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.6034, allocations: 12.31 kB / 0.5879 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.6035, allocations: 17.3 kB / 0.5879 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.6035, allocations: 5.219 kB / 0.5879 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.607, allocations: 1.194 MB / 0.5891 GB, free: 456 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.6071, allocations: 6.172 kB / 0.5891 GB, free: 452 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.6071, allocations: 30.23 kB / 0.5891 GB, free: 420 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.6091, allocations: 0.7104 MB / 0.5898 GB, free: 280 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.6091, allocations: 3.938 kB / 0.5898 GB, free: 276 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6091, allocations: 1.375 kB / 0.5898 GB, free: 276 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.6091, allocations: 0 / 0.5898 GB, free: 276 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.001103/0.6102, allocations: 0.5155 MB / 0.5903 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6103, allocations: 10 kB / 0.5903 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.6104, allocations: 105.8 kB / 0.5904 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.6105, allocations: 86.55 kB / 0.5905 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.6107, allocations: 253.4 kB / 0.5908 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.6107, allocations: 154.5 kB / 0.5909 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.6108, allocations: 154.6 kB / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.163e-05/0.6109, allocations: 107.1 kB / 0.5912 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.6109, allocations: 75.28 kB / 0.5912 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/0.611, allocations: 154.5 kB / 0.5914 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.569e-05/0.6111, allocations: 151.4 kB / 0.5915 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.6112, allocations: 156.1 kB / 0.5917 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.6116, allocations: 465.3 kB / 0.5921 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.6117, allocations: 170.9 kB / 0.5923 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.6118, allocations: 75.88 kB / 0.5923 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.6118, allocations: 111.5 kB / 0.5925 GB, free: 13.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.542e-06/0.6118, allocations: 0 / 0.5925 GB, free: 13.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.6119, allocations: 41.48 kB / 0.5925 GB, free: 13.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.612, allocations: 127.4 kB / 0.5926 GB, free: 13.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.6122, allocations: 130.5 kB / 0.5927 GB, free: 13.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.6122, allocations: 29.64 kB / 0.5928 GB, free: 13.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.6123, allocations: 93.2 kB / 0.5929 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.6123, allocations: 0 / 0.5929 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.6123, allocations: 0 / 0.5929 GB, free: 13.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6125, allocations: 322.8 kB / 0.5932 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.6125, allocations: 6.5 kB / 0.5932 GB, free: 12.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.6126, allocations: 8.562 kB / 0.5932 GB, free: 12.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.6126, allocations: 8.125 kB / 0.5932 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6126, allocations: 0.5625 kB / 0.5932 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.6128, allocations: 51.19 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6128, allocations: 4.125 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.6129, allocations: 3.562 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6129, allocations: 0.8438 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.6129, allocations: 1.375 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6129, allocations: 0 / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.6129, allocations: 5.438 kB / 0.5933 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.613, allocations: 2.172 kB / 0.5933 GB, free: 12.72 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.000125/0.6131, allocations: 190.9 kB / 0.5934 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.6132, allocations: 112.9 kB / 0.5935 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.6133, allocations: 108.6 kB / 0.5936 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.867e-05/0.6133, allocations: 177 kB / 0.5938 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.187e-05/0.6134, allocations: 186.3 kB / 0.594 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.6135, allocations: 177.6 kB / 0.5942 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.6138, allocations: 420.7 kB / 0.5946 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.6139, allocations: 107.1 kB / 0.5947 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.6139, allocations: 102.8 kB / 0.5948 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.392e-05/0.614, allocations: 185.6 kB / 0.5949 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.6141, allocations: 186.4 kB / 0.5951 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.971e-05/0.6142, allocations: 182.7 kB / 0.5953 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-05/0.6142, allocations: 180.2 kB / 0.5955 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.6144, allocations: 323.9 kB / 0.5958 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6145, allocations: 185.5 kB / 0.596 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/0.6146, allocations: 182.9 kB / 0.5961 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.6148, allocations: 101.6 kB / 0.5962 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/0.6149, allocations: 178.3 kB / 0.5964 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.6149, allocations: 107 kB / 0.5965 GB, free: 9.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.6151, allocations: 104 kB / 0.5966 GB, free: 9.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6151, allocations: 5.375 kB / 0.5966 GB, free: 9.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001786/0.6169, allocations: 275.8 kB / 0.5969 GB, free: 9.078 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.002378/0.6193, allocations: 1.126 MB / 0.598 GB, free: 8.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.6194, allocations: 43.72 kB / 0.598 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6194, allocations: 4.719 kB / 0.598 GB, free: 8.133 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.6194, allocations: 0 / 0.598 GB, free: 8.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.6199, allocations: 0.5258 MB / 0.5985 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.6212, allocations: 0.5632 MB / 0.5991 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6215, allocations: 0.691 MB / 0.5997 GB, free: 6.426 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.6216, allocations: 0 / 0.5997 GB, free: 6.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.6216, allocations: 18.34 kB / 0.5998 GB, free: 6.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6216, allocations: 0.5625 kB / 0.5998 GB, free: 6.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.679, allocations: 6.769 MB / 0.6064 GB, free: 3.727 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.6794, allocations: 261.4 kB / 0.6066 GB, free: 3.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/3.852, allocations: 4.625 kB / 0.6066 GB, free: 3.383 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: