Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.00126/0.00126, allocations: 100.3 kB / 16.35 MB, free: 5.824 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.0013/0.0013, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7976/0.7976, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.88 kB / 0.5068 GB, free: 7.602 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3625, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002148/0.3647, allocations: 1.425 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.368, allocations: 2.836 MB / 0.59 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.368, allocations: 0.5 kB / 0.59 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.368, allocations: 4.844 kB / 0.59 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.3681, allocations: 18.12 kB / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.3709, allocations: 1.549 MB / 0.5915 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.371, allocations: 40.48 kB / 0.5916 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.3711, allocations: 7.938 kB / 0.5916 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.3711, allocations: 8.578 kB / 0.5916 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.3711, allocations: 26.39 kB / 0.5916 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.3711, allocations: 4 kB / 0.5916 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.3726, allocations: 1.478 MB / 0.593 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.3726, allocations: 0 / 0.593 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3727, allocations: 19.88 kB / 0.5931 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.3736, allocations: 1.07 MB / 0.5941 GB, free: 18.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3736, allocations: 0.875 kB / 0.5941 GB, free: 18.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3736, allocations: 0 / 0.5941 GB, free: 18.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3737, allocations: 1.594 kB / 0.5941 GB, free: 18.05 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.0004232/0.3741, allocations: 0.5145 MB / 0.5946 GB, free: 17.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3741, allocations: 12.02 kB / 0.5946 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.3742, allocations: 89.75 kB / 0.5947 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.3743, allocations: 245.9 kB / 0.5949 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3743, allocations: 157.4 kB / 0.5951 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3743, allocations: 158.4 kB / 0.5952 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.875e-05/0.3744, allocations: 101 kB / 0.5953 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3744, allocations: 75.28 kB / 0.5954 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.3744, allocations: 152.7 kB / 0.5956 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.3744, allocations: 150.6 kB / 0.5957 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.3745, allocations: 158.5 kB / 0.5958 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.3746, allocations: 467 kB / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.07e-05/0.3747, allocations: 180.4 kB / 0.5965 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.3747, allocations: 80.14 kB / 0.5965 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3747, allocations: 79.27 kB / 0.5966 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3748, allocations: 106.9 kB / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.3748, allocations: 0 / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.151e-05/0.3748, allocations: 37.55 kB / 0.5968 GB, free: 15.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3749, allocations: 127.4 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.375, allocations: 130.7 kB / 0.597 GB, free: 14.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.375, allocations: 25.7 kB / 0.597 GB, free: 14.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.375, allocations: 89.89 kB / 0.5971 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.375, allocations: 0 / 0.5971 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.3751, allocations: 21.7 kB / 0.5971 GB, free: 14.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.3751, allocations: 316 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.3751, allocations: 4 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.3751, allocations: 5.812 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.3752, allocations: 12.84 kB / 0.5975 GB, free: 14.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3752, allocations: 3.938 kB / 0.5975 GB, free: 14.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/0.3753, allocations: 53.55 kB / 0.5975 GB, free: 14.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3753, allocations: 5.594 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3753, allocations: 4 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3754, allocations: 3.984 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3754, allocations: 0 / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3754, allocations: 0 / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.3754, allocations: 4.875 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3754, allocations: 7.938 kB / 0.5975 GB, free: 14.32 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 5.234e-05/0.3755, allocations: 186.7 kB / 0.5977 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3755, allocations: 112.9 kB / 0.5978 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.3755, allocations: 115.1 kB / 0.5979 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.3756, allocations: 180.3 kB / 0.5981 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/0.3756, allocations: 180.3 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.3756, allocations: 184.9 kB / 0.5985 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.3758, allocations: 418.1 kB / 0.5989 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.3758, allocations: 110.7 kB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.3758, allocations: 101 kB / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/0.3758, allocations: 184.1 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3759, allocations: 181.4 kB / 0.5994 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.512e-05/0.3759, allocations: 180.8 kB / 0.5996 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.222e-05/0.3759, allocations: 181.4 kB / 0.5997 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.561e-05/0.376, allocations: 310.1 kB / 0.6 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.376, allocations: 190 kB / 0.6002 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.3761, allocations: 177.5 kB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.3761, allocations: 108.9 kB / 0.6005 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.3762, allocations: 181.4 kB / 0.6007 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3762, allocations: 104.9 kB / 0.6008 GB, free: 10.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.3762, allocations: 102.9 kB / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3762, allocations: 0 / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.3768, allocations: 275.8 kB / 0.6011 GB, free: 10.44 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.0007851/0.3776, allocations: 0.5233 MB / 0.6016 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.482e-05/0.3776, allocations: 37.7 kB / 0.6017 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3777, allocations: 0 / 0.6017 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3777, allocations: 0.5 kB / 0.6017 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.378, allocations: 463.5 kB / 0.6021 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.3782, allocations: 232.1 kB / 0.6023 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3783, allocations: 0.6828 MB / 0.603 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.167e-05/0.3784, allocations: 0 / 0.603 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-06/0.3784, allocations: 11.44 kB / 0.603 GB, free: 8.441 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3784, allocations: 0 / 0.603 GB, free: 8.441 MB / 446.1 MB Notification: Performance of Templates: time 0.007279/0.3857, allocations: 5.439 MB / 0.6083 GB, free: 3.074 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)