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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.001072/0.001072, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 55.91 kB / 0.5033 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 80.18 MB / 0.5816 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002253/0.3702, allocations: 1.434 MB / 0.583 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.3734, allocations: 2.879 MB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.3735, allocations: 1.188 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3735, allocations: 5.531 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.64e-05/0.3736, allocations: 14.7 kB / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.3766, allocations: 1.57 MB / 0.5873 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.3766, allocations: 47.36 kB / 0.5874 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.3767, allocations: 6.625 kB / 0.5874 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.3767, allocations: 11.97 kB / 0.5874 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.785e-05/0.3767, allocations: 28.38 kB / 0.5874 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3768, allocations: 1.406 kB / 0.5874 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.3785, allocations: 1.525 MB / 0.5889 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.3785, allocations: 5.703 kB / 0.5889 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.3786, allocations: 23.48 kB / 0.5889 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3797, allocations: 1.091 MB / 0.59 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3797, allocations: 4 kB / 0.59 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3797, allocations: 0 / 0.59 GB, free: 21.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3797, allocations: 0 / 0.59 GB, free: 21.55 MB / 446.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.0004069/0.3801, allocations: 0.512 MB / 0.5905 GB, free: 20.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.3802, allocations: 12.03 kB / 0.5905 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3802, allocations: 85.78 kB / 0.5906 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.3803, allocations: 253.6 kB / 0.5908 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3803, allocations: 162.9 kB / 0.591 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3803, allocations: 155.9 kB / 0.5911 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.753e-05/0.3804, allocations: 106.2 kB / 0.5912 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3804, allocations: 75.28 kB / 0.5913 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3804, allocations: 152 kB / 0.5915 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3805, allocations: 150.6 kB / 0.5916 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.3805, allocations: 151.1 kB / 0.5917 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3807, allocations: 472.5 kB / 0.5922 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.925e-05/0.3807, allocations: 177 kB / 0.5924 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.3807, allocations: 84.77 kB / 0.5924 GB, free: 18.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.3807, allocations: 75.94 kB / 0.5925 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3808, allocations: 108.3 kB / 0.5926 GB, free: 18.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3808, allocations: 0 / 0.5926 GB, free: 18.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.028e-05/0.3808, allocations: 37.55 kB / 0.5927 GB, free: 18.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.3809, allocations: 126.7 kB / 0.5928 GB, free: 18.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.381, allocations: 132.4 kB / 0.5929 GB, free: 18.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.381, allocations: 29.69 kB / 0.5929 GB, free: 18.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.381, allocations: 88.14 kB / 0.593 GB, free: 18.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.381, allocations: 0 / 0.593 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.381, allocations: 17.72 kB / 0.593 GB, free: 18.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.3811, allocations: 323.3 kB / 0.5933 GB, free: 17.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.3811, allocations: 5.562 kB / 0.5933 GB, free: 17.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.3811, allocations: 4 kB / 0.5934 GB, free: 17.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.3812, allocations: 12.86 kB / 0.5934 GB, free: 17.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3812, allocations: 5.562 kB / 0.5934 GB, free: 17.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.3813, allocations: 57.53 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3813, allocations: 4 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3813, allocations: 4 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3814, allocations: 0 / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3814, allocations: 2.875 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3814, allocations: 3.984 kB / 0.5934 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.3814, allocations: 3.938 kB / 0.5934 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3814, allocations: 4 kB / 0.5934 GB, free: 17.8 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 4.529e-05/0.3815, allocations: 185.9 kB / 0.5936 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.3815, allocations: 118.7 kB / 0.5937 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.3815, allocations: 112.6 kB / 0.5938 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.3815, allocations: 184.3 kB / 0.594 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.3816, allocations: 185.4 kB / 0.5942 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.3816, allocations: 189.1 kB / 0.5944 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3817, allocations: 422.8 kB / 0.5948 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.3818, allocations: 104.9 kB / 0.5949 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.3818, allocations: 101 kB / 0.595 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.3818, allocations: 186.2 kB / 0.5952 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.3818, allocations: 184.2 kB / 0.5953 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.288e-05/0.3819, allocations: 180.9 kB / 0.5955 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.43e-05/0.3819, allocations: 178.6 kB / 0.5957 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.032e-05/0.382, allocations: 315.6 kB / 0.596 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.382, allocations: 187.1 kB / 0.5962 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.382, allocations: 184.2 kB / 0.5963 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.3821, allocations: 102.7 kB / 0.5964 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3821, allocations: 180.2 kB / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3821, allocations: 106.3 kB / 0.5967 GB, free: 14.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.576e-05/0.3822, allocations: 109.6 kB / 0.5968 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3822, allocations: 0 / 0.5968 GB, free: 14.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005194/0.3827, allocations: 276.4 kB / 0.5971 GB, free: 13.89 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.0008313/0.3836, allocations: 0.5275 MB / 0.5976 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.3837, allocations: 41.7 kB / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3837, allocations: 0 / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3837, allocations: 0 / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.384, allocations: 477.1 kB / 0.5981 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.3842, allocations: 230.4 kB / 0.5983 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3843, allocations: 0.6816 MB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.12e-05/0.3843, allocations: 7.984 kB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-06/0.3844, allocations: 7.438 kB / 0.599 GB, free: 11.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3844, allocations: 1.312 kB / 0.599 GB, free: 11.87 MB / 446.1 MB Notification: Performance of Templates: time 0.007084/0.3915, allocations: 5.596 MB / 0.6044 GB, free: 6.352 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)