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.001648/0.001648, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001904/0.001904, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7745/0.7745, allocations: 132.2 MB / 422.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 60.06 kB / 0.502 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5641, allocations: 80.2 MB / 0.5803 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003124/0.5673, allocations: 1.489 MB / 0.5817 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.5718, allocations: 2.836 MB / 0.5845 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.572, allocations: 0 / 0.5845 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.572, allocations: 2.672 kB / 0.5845 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.5721, allocations: 10.77 kB / 0.5845 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.5765, allocations: 1.43 MB / 0.5859 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.5766, allocations: 35.64 kB / 0.5859 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.5767, allocations: 13.59 kB / 0.586 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.5767, allocations: 12 kB / 0.586 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.276e-05/0.5768, allocations: 21.5 kB / 0.586 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.5768, allocations: 1.344 kB / 0.586 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.5796, allocations: 1.417 MB / 0.5874 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.5796, allocations: 1.641 kB / 0.5874 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.5797, allocations: 19.5 kB / 0.5874 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.5812, allocations: 0.738 MB / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5812, allocations: 0 / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5812, allocations: 1.375 kB / 0.5881 GB, free: 480 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.5812, allocations: 0 / 0.5881 GB, free: 480 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.0007167/0.582, allocations: 0.5168 MB / 0.5886 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.582, allocations: 8.531 kB / 0.5886 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.5821, allocations: 83.03 kB / 0.5887 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.5823, allocations: 246.4 kB / 0.5889 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/0.5824, allocations: 158.9 kB / 0.5891 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.5824, allocations: 156 kB / 0.5892 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/0.5825, allocations: 106.2 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5826, allocations: 75.28 kB / 0.5894 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.5826, allocations: 155.2 kB / 0.5896 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.5827, allocations: 151.7 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.803e-05/0.5828, allocations: 154.6 kB / 0.5898 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.5831, allocations: 465.3 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.5832, allocations: 170 kB / 0.5905 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.5833, allocations: 81.64 kB / 0.5905 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.5833, allocations: 83.22 kB / 0.5906 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.5834, allocations: 108 kB / 0.5907 GB, free: 13.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.465e-06/0.5834, allocations: 0 / 0.5907 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.064e-05/0.5835, allocations: 45.08 kB / 0.5908 GB, free: 13.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.5836, allocations: 127.4 kB / 0.5909 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5837, allocations: 128.2 kB / 0.591 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5838, allocations: 29.7 kB / 0.591 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.5838, allocations: 97.47 kB / 0.5911 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.5838, allocations: 0 / 0.5911 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.5839, allocations: 15.66 kB / 0.5911 GB, free: 13.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5841, allocations: 319.6 kB / 0.5914 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.5841, allocations: 1.969 kB / 0.5914 GB, free: 12.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.5841, allocations: 8.609 kB / 0.5915 GB, free: 12.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.5842, allocations: 13.59 kB / 0.5915 GB, free: 12.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5842, allocations: 4.781 kB / 0.5915 GB, free: 12.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001507/0.5843, allocations: 53.09 kB / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5843, allocations: 5.75 kB / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.5844, allocations: 2.906 kB / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5844, allocations: 0.75 kB / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.5844, allocations: 0 / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5844, allocations: 1.109 kB / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.5844, allocations: 1.094 kB / 0.5915 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.5845, allocations: 1.469 kB / 0.5915 GB, free: 12.93 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 0.0001195/0.5846, allocations: 192.8 kB / 0.5917 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.5847, allocations: 112.3 kB / 0.5918 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.5847, allocations: 116.5 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.729e-05/0.5848, allocations: 181.8 kB / 0.5921 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.925e-05/0.5849, allocations: 178 kB / 0.5923 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.488e-05/0.585, allocations: 178.5 kB / 0.5924 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.5852, allocations: 420.3 kB / 0.5929 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/0.5853, allocations: 106.7 kB / 0.593 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.5853, allocations: 109.6 kB / 0.5931 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.217e-05/0.5854, allocations: 182.4 kB / 0.5932 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.5855, allocations: 178.8 kB / 0.5934 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-05/0.5856, allocations: 181 kB / 0.5936 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.687e-05/0.5857, allocations: 182.4 kB / 0.5937 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.5858, allocations: 311.6 kB / 0.594 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.5859, allocations: 188.1 kB / 0.5942 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.586, allocations: 178.8 kB / 0.5944 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.5861, allocations: 110.9 kB / 0.5945 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.5862, allocations: 186.3 kB / 0.5947 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.5863, allocations: 101.8 kB / 0.5948 GB, free: 9.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.5863, allocations: 98.23 kB / 0.5949 GB, free: 9.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5864, allocations: 0 / 0.5949 GB, free: 9.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001253/0.5876, allocations: 273.4 kB / 0.5951 GB, free: 9.297 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.001358/0.589, allocations: 0.5149 MB / 0.5956 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.5891, allocations: 38.86 kB / 0.5957 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5891, allocations: 3.938 kB / 0.5957 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/0.5891, allocations: 4.531 kB / 0.5957 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.5896, allocations: 469.2 kB / 0.5961 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.59, allocations: 271.4 kB / 0.5964 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.5903, allocations: 0.6816 MB / 0.597 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.5903, allocations: 14.34 kB / 0.5971 GB, free: 7.574 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5903, allocations: 0 / 0.5971 GB, free: 7.574 MB / 446.1 MB Notification: Performance of Templates: time 0.01074/0.601, allocations: 4.632 MB / 0.6016 GB, free: 5.867 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)