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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001344, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 195.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7276/0.7276, allocations: 132.2 MB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.34 kB / 0.5018 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3994, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002769/0.4022, allocations: 1.417 MB / 0.5815 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.4059, allocations: 2.837 MB / 0.5843 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.406, allocations: 0.8125 kB / 0.5843 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.406, allocations: 5.859 kB / 0.5843 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.4061, allocations: 15.91 kB / 0.5843 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.4095, allocations: 1.544 MB / 0.5858 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.4096, allocations: 36.08 kB / 0.5859 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.4096, allocations: 9.484 kB / 0.5859 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.4096, allocations: 16.08 kB / 0.5859 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.777e-05/0.4097, allocations: 17.45 kB / 0.5859 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.4097, allocations: 0.875 kB / 0.5859 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.4117, allocations: 1.42 MB / 0.5873 GB, free: 356 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.4118, allocations: 10.7 kB / 0.5873 GB, free: 348 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.4118, allocations: 19.12 kB / 0.5873 GB, free: 336 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.4132, allocations: 1.07 MB / 0.5884 GB, free: 44 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4132, allocations: 0 / 0.5884 GB, free: 44 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4133, allocations: 0 / 0.5884 GB, free: 44 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4133, allocations: 0 / 0.5884 GB, free: 44 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.00062/0.4139, allocations: 0.509 MB / 0.5889 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4139, allocations: 10.94 kB / 0.5889 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.414, allocations: 86.12 kB / 0.589 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4141, allocations: 253.4 kB / 0.5892 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.4142, allocations: 151.5 kB / 0.5893 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.4143, allocations: 159.4 kB / 0.5895 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.187e-05/0.4143, allocations: 101.6 kB / 0.5896 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.4144, allocations: 76.58 kB / 0.5897 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.4144, allocations: 158.6 kB / 0.5898 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.4145, allocations: 155.2 kB / 0.59 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.4145, allocations: 152.1 kB / 0.5901 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.4148, allocations: 464.6 kB / 0.5906 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.4149, allocations: 179.2 kB / 0.5907 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.4149, allocations: 80.14 kB / 0.5908 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4149, allocations: 76.25 kB / 0.5909 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.415, allocations: 107.1 kB / 0.591 GB, free: 13.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.415, allocations: 0 / 0.591 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.33e-05/0.4151, allocations: 32.73 kB / 0.591 GB, free: 13.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.4151, allocations: 140.4 kB / 0.5911 GB, free: 13.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4153, allocations: 127.5 kB / 0.5913 GB, free: 13.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4153, allocations: 26.55 kB / 0.5913 GB, free: 13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.4153, allocations: 92.31 kB / 0.5914 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.4153, allocations: 1.344 kB / 0.5914 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.4154, allocations: 14.06 kB / 0.5914 GB, free: 12.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4155, allocations: 319.8 kB / 0.5917 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.4155, allocations: 3.156 kB / 0.5917 GB, free: 12.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.4155, allocations: 7.547 kB / 0.5917 GB, free: 12.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.4155, allocations: 14.28 kB / 0.5917 GB, free: 12.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4156, allocations: 4.969 kB / 0.5917 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.4157, allocations: 52.95 kB / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4157, allocations: 5.312 kB / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.4157, allocations: 2.625 kB / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4157, allocations: 1.438 kB / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.4157, allocations: 0.6094 kB / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4157, allocations: 0 / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.4158, allocations: 1.469 kB / 0.5918 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4158, allocations: 5.812 kB / 0.5918 GB, free: 12.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.4159, allocations: 192.2 kB / 0.592 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.4159, allocations: 112.7 kB / 0.5921 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.416, allocations: 111.4 kB / 0.5922 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/0.416, allocations: 182.3 kB / 0.5924 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.702e-05/0.4161, allocations: 182.3 kB / 0.5925 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/0.4162, allocations: 190.4 kB / 0.5927 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.4164, allocations: 411.7 kB / 0.5931 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/0.4164, allocations: 106.8 kB / 0.5932 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.4165, allocations: 107.2 kB / 0.5933 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.4165, allocations: 177.1 kB / 0.5935 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.4166, allocations: 186.4 kB / 0.5937 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.563e-05/0.4166, allocations: 178.1 kB / 0.5938 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.446e-05/0.4167, allocations: 181.7 kB / 0.594 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.4168, allocations: 310.4 kB / 0.5943 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.4169, allocations: 185.8 kB / 0.5945 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.417, allocations: 182.6 kB / 0.5947 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.417, allocations: 106.8 kB / 0.5948 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.4171, allocations: 177.8 kB / 0.5949 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.4171, allocations: 114.5 kB / 0.595 GB, free: 9.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.4172, allocations: 98.84 kB / 0.5951 GB, free: 8.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 0.5951 GB, free: 8.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008053/0.418, allocations: 281.1 kB / 0.5954 GB, free: 8.867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009899/0.419, allocations: 0.515 MB / 0.5959 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.841e-05/0.4191, allocations: 38.62 kB / 0.5959 GB, free: 8.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4191, allocations: 1.031 kB / 0.5959 GB, free: 8.566 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4191, allocations: 0 / 0.5959 GB, free: 8.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4195, allocations: 470.4 kB / 0.5964 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.4198, allocations: 235.6 kB / 0.5966 GB, free: 7.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.42, allocations: 0.6847 MB / 0.5973 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.535e-05/0.4201, allocations: 5.281 kB / 0.5973 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.4201, allocations: 8.812 kB / 0.5973 GB, free: 7.191 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4201, allocations: 0 / 0.5973 GB, free: 7.191 MB / 446.1 MB Notification: Performance of Templates: time 0.008655/0.4287, allocations: 5.45 MB / 0.6026 GB, free: 4.863 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)