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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 102.1 kB / 16.35 MB, free: 5.828 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.001109/0.001109, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.37/1.37, 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-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.88 kB / 0.5068 GB, free: 7.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3672, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002315/0.3696, allocations: 1.43 MB / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.3735, allocations: 2.872 MB / 0.59 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.3735, allocations: 0 / 0.59 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.3736, allocations: 8.641 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.3737, allocations: 10.5 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.3771, allocations: 1.578 MB / 0.5916 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.3772, allocations: 48.23 kB / 0.5916 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.3773, allocations: 4.562 kB / 0.5916 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.3773, allocations: 11.94 kB / 0.5916 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.3774, allocations: 16.48 kB / 0.5917 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3774, allocations: 4.719 kB / 0.5917 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.379, allocations: 1.527 MB / 0.5932 GB, free: 19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3791, allocations: 7.938 kB / 0.5932 GB, free: 18.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.3791, allocations: 19.86 kB / 0.5932 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.3802, allocations: 1.097 MB / 0.5943 GB, free: 17.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3802, allocations: 0 / 0.5943 GB, free: 17.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3802, allocations: 0 / 0.5943 GB, free: 17.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3802, allocations: 2 kB / 0.5943 GB, free: 17.88 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.0004293/0.3806, allocations: 0.5262 MB / 0.5948 GB, free: 17.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.3807, allocations: 8.031 kB / 0.5948 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.3807, allocations: 85.69 kB / 0.5949 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.3808, allocations: 247.5 kB / 0.5951 GB, free: 16.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3808, allocations: 150.9 kB / 0.5952 GB, free: 16.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3809, allocations: 156 kB / 0.5954 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.719e-05/0.3809, allocations: 101 kB / 0.5955 GB, free: 16.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3809, allocations: 80.66 kB / 0.5956 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.381, allocations: 154.6 kB / 0.5957 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.381, allocations: 152 kB / 0.5959 GB, free: 16.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.381, allocations: 154.6 kB / 0.596 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3812, allocations: 463.9 kB / 0.5964 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.3813, allocations: 174.6 kB / 0.5966 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.3813, allocations: 84.08 kB / 0.5967 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3813, allocations: 77 kB / 0.5968 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3813, allocations: 109.8 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3813, allocations: 0 / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.945e-05/0.3814, allocations: 36.73 kB / 0.5969 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3814, allocations: 126.7 kB / 0.597 GB, free: 14.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3816, allocations: 135.9 kB / 0.5972 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.3816, allocations: 25.7 kB / 0.5972 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3816, allocations: 96.12 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.3816, allocations: 0 / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3816, allocations: 15.22 kB / 0.5973 GB, free: 14.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.3817, allocations: 318.8 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.3817, allocations: 7.938 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.3817, allocations: 8.5 kB / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.3818, allocations: 14.05 kB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3818, allocations: 7.938 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001108/0.3819, allocations: 54.41 kB / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3819, allocations: 8 kB / 0.5977 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.3819, allocations: 4 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.382, allocations: 2.375 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.382, allocations: 4 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.382, allocations: 0 / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.382, allocations: 3.938 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.382, allocations: 0 / 0.5977 GB, free: 14.14 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.67e-05/0.3821, allocations: 193.7 kB / 0.5979 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.3821, allocations: 106.1 kB / 0.598 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3821, allocations: 116.6 kB / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.3822, allocations: 189.8 kB / 0.5983 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/0.3822, allocations: 180.3 kB / 0.5985 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/0.3823, allocations: 189.3 kB / 0.5986 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3824, allocations: 414.1 kB / 0.599 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.3824, allocations: 105 kB / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.3824, allocations: 111.2 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.329e-05/0.3825, allocations: 176.3 kB / 0.5994 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.3825, allocations: 180.2 kB / 0.5996 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-05/0.3825, allocations: 185 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.04e-05/0.3826, allocations: 178 kB / 0.5999 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.187e-05/0.3826, allocations: 312.6 kB / 0.6002 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3827, allocations: 190.9 kB / 0.6004 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.3827, allocations: 176.3 kB / 0.6006 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.3828, allocations: 106.9 kB / 0.6007 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.3828, allocations: 184.2 kB / 0.6008 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3828, allocations: 105 kB / 0.6009 GB, free: 10.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.3829, allocations: 107.4 kB / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3829, allocations: 0 / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.3834, allocations: 275.8 kB / 0.6013 GB, free: 10.23 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.0008503/0.3843, allocations: 0.5313 MB / 0.6018 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.3844, allocations: 41.64 kB / 0.6019 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3844, allocations: 0.6562 kB / 0.6019 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.3844, allocations: 8.938 kB / 0.6019 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3847, allocations: 471 kB / 0.6023 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.385, allocations: 238.1 kB / 0.6026 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3851, allocations: 0.6807 MB / 0.6032 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.061e-05/0.3851, allocations: 1.156 kB / 0.6032 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-06/0.3852, allocations: 11.44 kB / 0.6032 GB, free: 8.207 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3852, allocations: 3.938 kB / 0.6032 GB, free: 8.203 MB / 446.1 MB Notification: Performance of Templates: time 0.007768/0.3929, allocations: 5.599 MB / 0.6087 GB, free: 2.68 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)